DHTMLX Docs & Samples Explorer

Index
dhtmlxgrid
API Methods

### setColumnHidden(ind, state)

Required library edition:
Required library file: dhtmlxgrid.js

hide/show column

- ind - column index
- state - true/false - hide/show column

       //hide first column
       mygrid.setColumnHidden(0,true);
       //show first column
       mygrid.setColumnHidden(0,false);

See also: setRowHidden, setColumnsVisibility