Greetings,
I have a grid that works fine until I try to hide a column.
Code follows:
mygrid = new dhtmlXGridObject(‘gridbox’);
mygrid.setImagePath(“includes/dhtmlxGrid/codebase/imgs/”);
mygrid.setHeader(“Header0,Header1,Header2,Header3,Header4,Header5,Header6,Header7”);
mygrid.setInitWidths(",,,,,,*");
mygrid.setColAlign(“left,left,left,left,left,left,left,left”);
mygrid.setColTypes(“ro,ro,ro,ro,ro,ro,ro,ro”);
mygrid.setColSorting(“str,int,int,int,int,int,int,str”);
mygrid.init();
mygrid.setSkin(“dhx_skyblue”);
mygrid.groupBy(7);
mygrid.setColumnHidden(7,true);
mygrid.parse(data, “json”);
[11:32:08.116] TypeError: mygrid.setColumnHidden is not a function