DHTMLX Docs & Samples Explorer

setRowHidden(id, state)

Required library edition: This method works with any edition of DHTMLX library
Required library file: dhtmlxgrid.js

hide/show row (warning! - this command doesn't affect row indexes, only visual appearance)

  • id - row ID
  • state - true/false - hide/show row
   //hide row with id "row1"
   mygrid.setRowHidden("row1",true);
   //show row with id "row1"
   mygrid.setRowHidden("row1",false);

See also: setColumnHidden