Hi Aravind,
Thanks for the update.
Query:Could you give an example of the css styling to select a row ?
We achieved your query by using the load event of the
Treegrid and click event.
Please refer to the below code
example,
|
load: function (args) {
treegrid.element.addEventListener('click', (args) => {
args.target.closest('tr').classList.add('bgcolor');
});
},
});
|
In
the above code snippet, we highlighted the color while click on the row.
Please refer to the below screenshot,

Please refer to the below API
documentation,
https://ej2.syncfusion.com/documentation/api/treegrid/#load
Please let us know if you have any
concerns.
Regards,
Pon selva