DHTMLX Docs & Samples Explorer

Index
dhtmlxgrid
API Methods

### collapseGroup(val)

Required library edition:
Required library file: dhtmlxgrid_group.js

collapse group of rows

- val - value to use to determine what group to collapse (in other words this should be value common for all of them)

       //collapse "John Grisham" group
       mygrid.collapseGroup('John Grisham');

See also: collapseAllGroups