Advanced User Interface Controls and Components
Expands or collapses a specified row in TreeGrid component.
Param | Type | Details |
---|---|---|
row (optional) | Object | The row to be expanded or collapsed |
This method does not return a value.
Depending on current state of specified row, a call to this method will trigger either beforeExpand and afterExpand events, or beforeCollapse and afterCollapse events.
If there is no specified row, all rows in TreeGrid will become expanded or collapsed.
Supported in: v1.0.