Filtering for hierarchies as well

Hello,

I would like to know if there is a provision for filtering the grid based on values of columns in the child levels as well.






Warm Regards 

1 Reply 1 reply marked as answer

SK Sujith Kumar Rajkumar Syncfusion Team February 19, 2021 12:33 PM UTC

Hi Vigneswaran, 
 
Greetings from Syncfusion support. 
 
Based on your query we would like to let you know that filtering can be enabled in the child Grid(hierarchy level) also. This can be achieved by enabling the allowFiltering property(as like in the parent Grid) in the child Grid definition. This is demonstrated in the below code snippet, 
 
this.childGrid = { 
    dataSource: orderDatas, 
    queryString: 'EmployeeID', 
    allowFiltering: true, 
    columns: [...] 
}; 
 
We have prepared a sample demonstrating this case for your reference. You can find it below, 
 
 
If we misunderstood your query or if you require any further assistance, then please get back to us. 
 
Regards, 
Sujith R 


Marked as answer
Loader.
Up arrow icon