Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted on Mar 06, 2008 07:10
open dhtmlx forum
SmartRendering

When I use this line

mygrid.enableSmartRendering(true);

I will only get an empty grid. When i comment the line out I will get all the data.

I get this error when enabled.

Error: ind2 has no properties
Source File: http://wwwtest.iec/dhtmlxGrid/codebase/ext/dhtmlxgrid_srnd.js Line: 26


dthmlGrid is V.1.5 build 71114


Answer posted by Support on Mar 06, 2008 08:44
Please be sure you have unique ID's for each row in XML.
Also you can try to specify additional parameters of enableSmartRendering command

    mygrid.enableSmartRendering(true,null,20,20);

third and 4th parameters are size of view and size of prefetching, they detected automatically in normal case but may fail in case of some really complex layout

If problem still occurs for you - please provide any kind of sample where error can be reconstructed ( you can send it directly to support@dhtmlx.com )