Tree Grid Events

I am looking at the Tree Grid and trying to work out how I can take action when someone clicks on a row.
Where are the events documented?

1 Reply

KR Karthikeyan Raja Syncfusion Team March 2, 2020 09:04 AM UTC

Hi Richard, 
 
Thanks for contacting Syncfusion support. 
We have analyzed your query. In TreeGrid, Once we click on a row, row-selected event will be triggered. By using row-selected event you can achieve your requirement. Please find the code snippet below, 
<ej-tree-grid id="TreeGridContainer" row-selected="rowSelected" 
//…… 
</ej-tree-grid> 
 
<script type="text/javascript"> 
    function rowSelected(args) { 
       // your code 
    } 
</script> 
 
We have also prepared sample with your requirement. Please find the sample from below link, 
 
Please find the below documentation link for TreeGrid events. 
 
Please get back to us, if you need any further assistance on this.  
 
Regards, 
Karthikeyan Raja 


Loader.
Up arrow icon