dhtmlxgrid_srnd.js required
Smart Rendering mode increases overall grid performance working with big amounts of data by saving time on render operation that is most time consuming in dhtml. When this mode is activated, only those rows are rendered that are in the visible area. The user can apply it with already loaded content or activate dynamical loading to fetch rows from the server each time (or activate buffering additionally to decrease the number of server requests).
If the user activates dynamical loading, he should understand that rows that are not loaded yet can't be used in script methods (select, delete etc). The following method should be called before data loading takes place:
mygrid.enableSmartRendering(mode,buffer);
The parameters here are:
To pre-render rows during scrolling,the following method should be used:
mygrid.enablePreRendering(buffer);
In case of dynamical loading, XML should be created on the server taking the following URL parameters into account:
XML also should contain two additional parameters within <rows> tag:
In case you've modified grid row height (for example updating css or setting specific style for rows), you need to let grid know new height using the following command:
mygrid.setAwaitedRowHeight(25);