To render all the TreeGrid rows in collapsed state we need to enable the enableCollapseAll property. The below code example explains about how to render the all TreeGrid rows with collapsed state: <div id="TreeGridContainer" style="height:400px;width:100%"></div> <script type="text/javascript"> $(function () { $("#TreeGridContainer").ejTreeGrid({ //... dataSource: projectData, enableCollapseAll: true, }); }); </script>
A Sample to render all the TreeGrid rows in a collapsed state is available in the following link,
|
This page will automatically be redirected to the sign-in page in 10 seconds.