Advanced User Interface Controls and Components
Collapses a specified row in TreeGrid component.
|row (optional)||Object||The row to be collapsed|
This method does not return a value.
A call to this method will trigger beforeCollapse and afterCollapse events. By handling beforeCollapse event you can prevent collapsing of specified row using your own custom conditions.
An row can also become collapsed by setting the expanded variable of row object to false. However, in this case only afterCollapse event will be fired.
If there is no specified row, all rows in TreeGrid will become collapsed.
Supported in: v1.0.