Hi Ebenezer,
Thanks for contacting Syncfusion Support.
QUERY: Collapse TreeGrid control by default on component load
From your query we understand that you need to collapse all records initially when the treegrid is rendered. In TreeGrid we have “enableCollapseAll” property which when set to true, will load all the rows in collapsed state when the TreeGrid is rendered for the first time.
Please refer the below sample for better understanding,
Also you can refer the below help documentation,
If you have further queries, please get back to us.
Regards,
Farveen sulthana T