This sample illustrates how filters can be hidden programmatically using Iron python scripting
Introduction
This sample illustrates how filters can be hidden programmatically using Iron python scripting
Code Sample
# Copyright © 2017. TIBCO Software Inc. Licensed under TIBCO BSD-style license. from Spotfire.Dxp.Application import PanelTypeIdentifiers for p in Document.Pages: for panel in p.Panels: if panel.TypeId == PanelTypeIdentifiers.FilterPanel: for group in panel.TableGroups: if group.Name == "Data Table": for filter in group.FilterHandles: if filter.FilterReference.Name == "Sales": filter.Visible=not(filter.Visible)
References
License: TIBCO BSD-Style License
Recommended Comments
There are no comments to display.