DHTMLX Docs & Samples Explorer

collapseGroup(val)

Required library edition: This method requires Professional Edition of the DHTMLX library
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