Need help-- How to assign selected values from a list box filter to a document property when “All” is selected using ironpython in spotfire?

from Spotfire.Dxp.Application.Filters import ListBoxFilter

filt=Document.FilteringSchemes[0][myDataTable][myDataTable.Columns["as400_district_name"]].As[ListBoxFilter]()

for c in filt.SelectedValues:

      print c

 

This gives me selected values in addition to that I need to print the all values when All is selected in the filter and assign them to a document property.

Thanks.

(2) Answers

Login