Luca de Falco 4 Posted January 26, 2015 Share Posted January 26, 2015 Hi,I need to get the first marked row that appears in my tableplot visualization.The sort order it's not alphabetical,with this code I can take the first marked row in a alphabetical order. from Spotfire.Dxp.Data import DataValueCursorfrom Spotfire.Dxp.Application.Visuals import TablePlot table=visual.As[TablePlot]()dataTable=table.Data.DataTableReference myCursor = DataValueCursor.CreateFormatted(dataTable.Columns["MyColumn"]) markedRows = Document.Data.Markings["Marking"].GetSelection(dataTable).AsIndexSet() for markedRow in dataTable.GetRows(markedRows, myCursor): print myCursor.CurrentValue How can I get the first marked row highlighted in my visualization Link to comment Share on other sites More sharing options...
Tom Tang 2 Posted August 16, 2019 Share Posted August 16, 2019 this feature is really helpful, please spotfire should consider to have it. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now