Skip to content

View All Excel-Style Filter(s) of a Data Grid At-A-Glance #13516

Answered by ddaribo
SkylerLutz asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @SkylerLutz,

There is not a built-in UI for this in the grid, nevertheless it could easily be achieved by leveraging the exposed API. The filteringExpressionsTree property contains information about the applied filters. Additionally, the filteringExpressionsTreeChange event is fired each time the filters are changed.

As the name suggests, the structure of the object is recursive, which is particularly helpful for the Advanced filtering scenario. However, for the Excel Style Filtering case, the hierarchy goes as deep as two levels, so it is straightforward to extract the relevant info and construct a data object.
How this information is presented to the user is a matter of personal pref…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by zdrawku
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
❓ question awaiting author When the reviewer/verifier has some confusions about the scenario/behavior and wait author's action
2 participants
Converted from issue

This discussion was converted from issue #13506 on October 02, 2023 10:50.