Hello,
I’m using the pro version v.2.0 build 81107 and create a table using spitAt. So far so good, every works fine. But if I try to reload this table the header appears twice.
Here the code:
mygrid.enableAutoHeigth( false, ‘450’ );
mygrid.setImagePath( “./codebase/dhtmlxGrid/imgs/” );
mygrid.enableRowsHover( true, ‘grid_hover’ );
…
mygrid.init();
mygrid.splitAt(2);
mygrid.enableSmartRendering( true, 23 );
mygrid.loadXML( “<? echo $GetData ?>”, function() {
wc.style.visibility = “hidden”;
mygrid.sortRows(14, “int”, “des”);
});
function ReloadData(fy) {
…
mygrid.clearAll(true);
// THIS DOES’NT WORK BECAUSE THE GRID IS’NT CLEAR COMPLETELY.
…
mygrid.loadXML( url, function() {
…
});
}
What can I do?
Klaus
After applying of the split mode to the grid, it is not possible to recreate the grid structure (reload the grid with a different structure). Such grid can be only destructed.