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
340
Filtering in the nested data
posted

Hello,

I am having an issue with  filters in nested grid. Parent Row and child rows have same structure (I have used the code snippet from forum to display just one header at the top and child columns are sized properly to align with parent haders). I show the filters row at the top.

Here is the scenario,

Let us say we have following grid structure

Id, Name, description (for parent row)

and same ID, Name, Description (for child row)

Let us say I put a filter in Name (starts with A) what happens is any parent row that matches the criteria gets filtered. it doesn't apply filter on child rows.

What i need is if a child row satisfies the condition then it should display along with parent row (even if the parent row doesn't satisfy the condition).

How can I show the filter row at top (provided by the grid) but apply the filter programatically. This way I can handle the filtering of the rows based on both  parent and child.

Regards
Vish