Jump to content

How to get highlighted (selected) item programatically in C#


Jimmy Cao

Recommended Posts

I am building my Spotfire extension in C# .NET, trying to get the highlighted items in the chart/table. I tested following code:

DataTable tbl = analysisApplication.Document.ActivePageReference.ActiveDataTableReference;

RowSelection rows = analysisApplication.Document.Data.Highlight.GetSelection(tbl);

But the returned rows are always empty. What I am missing please

Thanks

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