Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
How do I clear the filters for a XamPivotGrid programmatically?

We're using a XamPivotGrid in our application. Users are able to to add value filters from the UI. In some cases we want to programmatically clear any filters that the user has selected so that all of the data in the data source is displayed again. How can we do this from csharp code?

  • 26465
    Offline posted

    Hello Aggie,

    Thank you for contacting Infragistics. The XmlaDataSource and FlatDatasource expose a Filters property of AreaItemsCollection. This collection exposes a Clear method.

    Let me know if this helps or have any additional questions.