Sample: dhtmlxGrid Reload with new structure dhtmlxGrid main page
X
 
Reload grid with another structure
 
<div id="gridbox" width="100%" height="250px" style="background-color:white;overflow:hidden"></div>
<script>
 
        mygrid = new dhtmlXGridObject('gridbox');
        mygrid.setImagePath("../../codebase/imgs/");
        mygrid.loadXML("gridH.xml");
        ...
        mygrid.clearAll(true);
        mygrid.loadXML("gridH3.xml");
</script>