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

IronPython script that will mark all the rows that are currently visible on a table visualization


Jonathan Casillas 2

Recommended Posts

You can use the below script as a reference to get the current Makring selection

https://community.spotfire.com/wiki/how-retrieve-data-marking-selection-usi...

In the above script once you get the marking selection using below line

==

markings = Document.ActiveMarkingSelectionReference.GetSelection(dataTable)

---

Then you can get the new marking color you want and set the marking

===

markingName = Document.Data.Markings["YourMarkingName"]

markingName.SetSelection(markings,dataTable)

====

Also another useful script reference

https://community.spotfire.com/wiki/how-mark-all-filtered-rows-table-using-...

Link to comment
Share on other sites

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...