Can some one please provide iron python script to create multiple select list box filter ( with search option). When I click on button in which my script is embeded, data should be filtered for all of my four data tables present in my dashboard page.
I have written some script but it is working if there is only one data table present, I am facing some error when I try to apply the filter for data in multiple data tables.
from Spotfire.Dxp.Application
import Filters as filters
CurPanel = Document.ActivePageReference.FilterPanel
FilterA = CurPanel.TableGroups[0].GetFilter("columnname")
CheckBoxes = FilterA.FilterReference.As[filters.CheckBoxFilter]()
strCityL = Document.Properties["propertyname"]
for CheckBoxVal in CheckBoxes.Values:
CheckBoxes.Uncheck(CheckBoxVal)
for strVal in strCityL:
CheckBoxes.Check(strVal)
Above script is for one data table and I cannot search my filter values
Thanks