In TreeGrid control, user can display the rows in collapsed state at initial load. This can be achieved by enabling the “EnableCollapseAll” property.
Please refer the following code snippets for collapsing all the rows of the TreeGrid.
The following output is displayed as a result of the above code example.
A sample to collapse all rows in TreeGrid is available in the following link,
|Article ID:||Published Date:||Last Revised Date:||Platform:||Control:|
or the page will be automatically redirected to sign-in page in 10 seconds.