How can I rebuild a grid that is in split mode?
I want to clear the table and reload all column information from xml (with a possible new splitAt defined in the afterInit section). Using grid.clearAll(true) erases all rows, but keeps the (split) header, which causes strange behaviour when loading new table headers from xml.
I even tried to reset it with
grid = new dhtmlXGridObject()
…
before loading the new xml, but that does not get rid of the split (only the columns before the former split will be updated)
To fully remove split - you need to reinitilize grid.
mygrid.destructor(); // remove all traces of previous grid instance
mygrid = new …
… all necessary init …