Ticket T1285705
Visible to All Users

PivotGrid - Connecting to Filter Editor and Server-Side Filtering

created 7 days ago

Hi,
We’re exploring how to integrate a react pivot control with a custom data loading flow.
Our ideal workflow is as follows:

  • User selects filter criteria via the FilterEditor (same one that is available in the grid control)
  • Filters are applied on back end API via data load or similar to how a data grid is server-side
  • Pivot then loads this dataset for further aggregation and normal user (but still server side with the same filter applied)

Is there a built-in way to achieve this? I have not seen filtering data via the pivot outside from column header.

Answers approved by DevExpress Support

created 3 days ago

Hello Eugene,

PivotGridFieldChooser can be used to apply a filter to PivotGrid. Refer to the following demo for an example: React Pivot Grid - Standalone Field Chooser.

However, from what I gather, you want to use the FilterBuilder component. In this case, refer to the following help topic to learn how to integrate it with PivotGrid: React FilterBuilder - Integrate with a DevExtreme UI Component. The idea is to use the following APIs:

To enable server-side filtering, bind the grid to a remote data source (e.g., Web API Service) and set the PivotGridDataSource.remoteOperations to true.

Please let me know if you need further assistance.

    Disclaimer: The information provided on DevExpress.com and affiliated web properties (including the DevExpress Support Center) is provided "as is" without warranty of any kind. Developer Express Inc disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.

    Confidential Information: Developer Express Inc does not wish to receive, will not act to procure, nor will it solicit, confidential or proprietary materials and information from you through the DevExpress Support Center or its web properties. Any and all materials or information divulged during chats, email communications, online discussions, Support Center tickets, or made available to Developer Express Inc in any manner will be deemed NOT to be confidential by Developer Express Inc. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.