Grid, by default has the expandCollapse() method to perform the expand or collapse operation dynamically.
The following code example demonstrates how to dynamically collapse the selected rows that are expanded in Grid by using button.
The following screenshot displays the dynamic collapse in Grid by using expandCollapse() method.
Dynamic collapse by using expandCollapse() method
|Article ID:||Published Date:||Last Revised Date:||Platform:||Control:|