Jump to content

To Reset Filter for only few selected columns in Spotfire(Script works but filter button not visible)

Sony Hejmady

Recommended Posts

Using html code below, I have created 2 columns A and B.Now I need to create a button which will clear only these 2 column A and d B.I did this by iron python which is after html script.I cannot see the Filter button displayed in text area but it does its job while running script.Any idea why Reset filter button is it not visible


html script:







Select A


Select B





-----Reset All filetrs




Iron Python Script:


import Spotfire.Dxp.Application.Filters as filters

import Spotfire.Dxp.Application.Filters.ListBoxFilter

from Spotfire.Dxp.Application.Filters import FilterTypeIdentifiers

from Spotfire.Dxp.Data import DataPropertyClass

from System import String

myPanel = Document.ActivePageReference.FilterPanel


#REset Testcolumn form the first table

myFilter= myPanel.TableGroups[0].GetFilter("A")

myFilter= myPanel.TableGroups[0].GetFilter("B")


lbFilter = myFilter.FilterReference.As[filters.ListBoxFilter]()



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