Jump to content
We've recently updated our Privacy Statement, available here. ×

How to mark all rows in a table in a filtering scheme based on filtering


B I

Recommended Posts

Hi all,

I want to mark all of the rows in a table ("myTable") that match the filters within a filtering scheme ("filtScheme"),.

I can mark all rows in my table using:

from Spotfire.Dxp.Data import *

rowCount = myTable.RowCount

rowsToMark = IndexSet(rowCount, True)

for marking in Document.Data.Markings:

marking.SetSelection(RowSelection(rowsToMark), myTable)but I only want to mark the rows that match the filtering that is applied on that table in a given filtering scheme. How do I do this

Cheers,

Ben

Link to comment
Share on other sites

  • 2 months later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...