In TreeGrid, we can expand or collapse particular level parent tasks using “expandAtLevel” and “collapseAtLevel” public methods. The following code example explains how to expand or collapse particular level parent items in TreeGrid.
Here we have collapsed the 1st level parent records and expanded the 1st level parent on the button click action.
A simple sample to expand and collapse at particular level in TreeGrid.
|Article ID:||Published Date:||Last Revised Date:||Platform:||Control:|