Sample: dhtmlxGrid Smart Rendering dhtmlxGrid main page
X

To increase grid performance working with very big lots of data you can enable Smart Rendering with dynamical loading of rows from server (already loaded rows remain on client side).
To do this you need to add one javascript command:
yourGrid.enableSmartRendering(mode,count);

- and make your server side to output records based on incomming paramters:

  • posStart - first row in portion
  • count - number of rows to return

  •  
    <script>
     
        mygrid = new dhtmlXGridObject('gridbox');
        ...
        mygrid.init();
        mygrid.enableSmartRendering(true,50);
        mygrid.loadXML("dynload.php");
    </script>