I added the screenshot for this. I implemented the search on row from your tutorial it is working fine. But when I try to implement search on child row it is not working.
rowHeaderColumns: [
{ name: 'Function' },
{ name: 'Resources' }
],
On the First "name: function" I have further child data. Simply I want to search on any row and on any level.
Working Code:
onRowFilter: args => {
console.log(args)
if (args.row.name.toLowerCase().indexOf(args.filter.text.toLowerCase()) < 0) {
args.visible = false;
}
}
I tried this also, But not working:
onRowFilter: args => {
console.log(args)
if (args.row.name1.toLowerCase().indexOf(args.filter.text.toLowerCase()) < 0) {
args.visible = false;
}
}
Can you write code for me?
Have a look on my screen shot.