I’m using the groupBy function to group my grid on a column.
However after loading, when I try to use the groupBy function again to group on a different column, or after filtering, all the ‘groupBy’ formatted header rows are lost. The grouping is actually performed its just these ‘groupBy’ formatted header rows that disappear.
Has anyone seen this behaviour? Is there a solution.
That doesn’t make any difference. Its really annoying because I can see that the grid is grouped correctly - it just hasn’t put in the group headings - see figures below:
Initial grouping using code
[code] // Initial Grouping for DB Record Data
mygrid.groupBy(3);
mygrid.setColumnHidden(3,true);
mygrid.setColumnHidden(4,false);
mygrid.customGroupFormat = function(text, count) {
return "Record " + text + "; containing " + count + " related text segments";
};[/code]
There must be something preventing those headings getting displayed?
<script src="dhtmlx/dhtmlxGrid/codebase/dhtmlxgrid.js"></script>
<script src="dhtmlx/dhtmlxGrid/codebase/ext/dhtmlxgrid_splt.js"></script>
<script src="dhtmlx/dhtmlxGrid/codebase/ext/dhtmlxgrid_group.js"></script>
or just