Sample: dhtmlxGrid | Change Grid's parent object | dhtmlxGrid main page |
You can use attachToObject method to move grid from one place to another switching its parents
<script></script>mygrid = new dhtmlXGridObject('gridbox'); ... mygrid.init(); mygrid.loadXML("../grid.xml"); //switch parent to new one function moveTo(objId){ mygrid.attachToObject(document.getElementById(objId)) }
© DHTMLX LTD. All rights reserved |