Check documentation for the latest version 6.0 of dhtmlxSuite setColumnHidden DHTMLX Docs

setColumnHidden

hides/shows a column

void setColumnHidden(number ind,boolean state);

Parameters

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