Check documentation for the latest version of dhtmlxSuite setColumnHidden DHTMLX Docs

setColumnHidden

hides/shows a column

void setColumnHidden(number ind,boolean state);
indnumberthe index of a column
statebooleantrue/false to hide/show a column

Available only in PRO Edition

Example

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

Back to top