the GroupBy doesnt work when I use it with setColumnHidden
var data = [
['January', 'Pierre Hebert', 'January 27 2011','Home'],
['January', 'Dusty Schlitter', 'January 28, 2011', 'Home'],
['February', 'Gaetanne Laurin', 'February 1 2011', 'Rental'],
['February', 'Dustin Schmidt & Kayla Mackey', 'January 27 2011', 'Rental'],
];
mygrid = new dhtmlXGridObject('saleTracker');
mygrid.setImagePath('/dhtmlx3/imgs/');
mygrid.setHeader("Closing Date Month, Client, Closing Date, Type");
mygrid.setInitWidths("50,180,130,120");
mygrid.setColTypes("ro,ro,ro,ro");
mygrid.setColSorting("str,str,str,str");
mygrid.enableMultiselect(true);
mygrid.init();
mygrid.setSkin("dhx_skyblue");
mygrid.setColumnHidden(0,true);
mygrid.parse(data,"jsarray");
mygrid.groupBy(0);
The grid does not group at all. It does not matter which column I want to group by. It does not work. Right now, I can set the first column to 0 width and remove the setColumnHidden(0, true), and the group by will work.
Is it a bug ?