We are using ag-grid version 25.0.1 We are having tree data such as
[
{
path: ['Ten'],
},
{
path: ['Ten', 'Twenty'],
},
{
path: ['Ten', 'Twenty', 'Thirty'],
},
{
path: ['Ten', 'Twenty', 'Thirty', 'Fourty'],
},
{
path: ['One'],
},
{
path: ['One', 'Two'],
},
{
path: ['One', 'Two', 'Three'],
},
]
on applying an external filter with a value of Thirty https://www.ag-grid.com/javascript-data-grid/filter-external/. We are getting the result along with its parents as
[
{
path: ['Ten'],
},
{
path: ['Ten', 'Twenty'],
},
{
path: ['Ten', 'Twenty', 'Thirty'],
}
]
Is there any way where we can exclude the parents on filter in Tree data and only filter the exact row that is satisfies the condition without getting any filler Groups in ag-grid ?? i.e
[
{
path: ['Ten', 'Twenty', 'Thirty'],
}
]