#get a reference to a listbox
filt=Document.FilteringSchemes[0][myDataTable][myDataTable.Columns["symbol"]].As[ListBoxFilter]()
#loop selected valuesfilt=Document.FilteringSchemes[0][myDataTable][myDataTable.Columns["symbol"]].As[ListBoxFilter]()
#to get the active filtering reference:
#filt = Document.FilteringSchemes[Document.ActiveFilteringSelectionReference][myDataTable][MyDataTable.Columns["symbol"]].As[ListBoxFilter]()
#filt = Document.FilteringSchemes[Document.ActiveFilteringSelectionReference][myDataTable][MyDataTable.Columns["symbol"]].As[ListBoxFilter]()
for value in filt.SelectedValues:
print value
1 comment:
I have a situation where few values from a column will not be displayed when I use data relationship between two tables (Include Filtering). However, when I use this script to fetch the selected Values I get the extra values which is not necessary. Can anyone tell me how we can fetch the selected values from the visible values of a filter.
Thanks in Advance.
Kumar
Post a Comment