DHTMLX Docs & Samples Explorer

setColumnsVisibility(list)

Required library edition: This method requires Professional Edition of the DHTMLX library
Required library file: dhtmlxgrid.js

set list of visible/hidden columns

  • list - list of true/false separated by comma, false - show column, true - hide column
   //hide first column
   mygrid.setColumnsVisibility("true,false,false,false,false");

See also: setColumnHidden