Dynamic loading of sub items
Loading time is decreased using dynamical loading of children elements
Loading time is decreased using dynamical loading of children elements
<link rel="STYLESHEET" type="text/css" href="../../../dhtmlxGrid/codebase/dhtmlxgrid.css"> <link rel="stylesheet" type="text/css" href="../../../dhtmlxGrid/codebase/skins/dhtmlxgrid_dhx_skyblue.css"> <link rel="STYLESHEET" type="text/css" href="../../../dhtmlxGrid/codebase/skins/dhtmlxgrid_dhx_blue.css"> <script src="../../../dhtmlxGrid/codebase/dhtmlxcommon.js"></script> <script src="../../../dhtmlxGrid/codebase/dhtmlxgrid.js"></script> <script src="../../../dhtmlxGrid/codebase/dhtmlxgridcell.js"></script> <script src="../../codebase/dhtmlxtreegrid.js"></script> <div id="gridbox" width="570px" height="150px" style="background-color:white;"></div> <br> <script></script>mygrid = new dhtmlXGridObject('gridbox'); mygrid.selMultiRows = true; mygrid.imgURL = "../../../dhtmlxGrid/codebase/imgs/icons_greenfolders/"; mygrid.setHeader("Tree,Plain Text,Long Text,Color,Checkbox"); mygrid.setInitWidths("150,100,100,100,100"); mygrid.setColAlign("left,left,left,left,center"); mygrid.setColTypes("tree,ed,txt,ch,ch"); mygrid.setColSorting("str,str,str,na,str"); mygrid.init(); mygrid.enableAutoHeight(true, "150"); mygrid.setSkin("dhx_skyblue"); mygrid.kidsXmlFile = "../common/test_list_2.xml"; mygrid.loadXML("../common/test_list_1.xml");