We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Is it possible to constrain filtering in the TreeGrid to a specific level in the hierarchy?

Consider the following example with only two levels:

A
 A1
 B1
B
 A2
 B2


The default behaviour of the TreeGrid is to filter both levels. For example, a filter of "A" would give us this:

A
 A1


If we constrained filtering to the second level, a filter of "A" would give us this:

A
 A1
B
 A2

If we constrained filtering to the first level, a filter of "A" would give us this:

A
 A1
 B1

1 Reply

MK Mahalakshmi Karthikeyan Syncfusion Team March 1, 2016 03:44 AM UTC

Hi John,

Current behavior of TreeGrid is to filter the content from Parent as well as from child nodes. If the filtering content exist in the parent or child, it will filter both the contents. And at present there is no support to set the predicates or constraints for the filtering and search the content accordingly. We have logged feature report regarding this. A support incident has been created under your account to track the status of this requirement. Please log on to our support website to check for further updates.

https://www.syncfusion.com/account/login?ReturnUrl=/support/directtrac/incidents

Please let us know if you require further assistance on this.

Regards,

Mahalakshmi K.


Loader.
Up arrow icon