Sample: dhtmlxTreeGridTreeGrid serializationdhtmlxTreeGrid main page
X

Serialization for dhtmlxTreeGrid gives you actual state of the content in xml format.
Math formulas can be serialized as formulas or as values.

Serialize TreeGrid
 
 
<div id="gridbox" width="100%" height="250px" style="background-color:white;overflow:hidden"></div>
<script>
 
    mygrid = new dhtmlXGridObject('gridbox');
    ...
    mygrid.loadXML("grid_math2.xml");
    ...
    //enabling math serialization
    mygrid.enableMathSerialization(true);
    //serialize treegrid
    var a=mygrid.serialize();
</script>
Delete selected rows
addRowBefore selected rows
addRowAfter selected rows
THIS PAGE CONTAINS SAMPLE FUNCTIONALITY OF PROFESSIONAL EDITION FOR DEMONSTRATION PURPOSE ONLY.
UNAUTHORIZED USE IS PROHIBITED. PLEASE CONTACT SALES@DHTMLX.COM TO OBTAIN A LEGAL COPY OF PROFESSIONAL EDITION.