I have a grid that’s not very large, only 6,500 lines, but it causes Firefox and IE to complain about a script not responding while the grid is loading. A dialog box asks if I want to continue or stop the script. If I keep continuing the grid eventually renders. I gave smart rendering a shot because it looks like this should be easy, but there were a couple problems. First I just did this before the init:
sourceCodeGrid_g.enableSmartRendering(true);
Only 30 lines rendered and there was no scrollbar. So I set this:
sourceCodeGrid_g.setAwaitedRowHeight(1);
I didn’t deliberately change the row height, so I don’t know why I would need this, but it mostly works. Unfortunately, if I scroll too fast it will skip lines and not allow to scroll all the way to the end of the grid.
I’m not doing dynamic loading. I’m just attaching everything to the grid. The order I’m doing things is:
enableSmartRendering
setAwaitedRowHeight
init
loadXMLString
Any ideas on how to get scrolling to work correctly?
Paging is definitely off and dhtmlxgrid_srnd.js is included. The smart rendering works as long as you scroll slowly. If you scroll too fast it will skip lines. I’m just loading static xml, and not doing dynamic fetching like in the example.
please, provide a sample of your code to reconstruct the issue.
Maybe you have a demo link where the issue can be reconstructed or you may create a complete demo (here is the tutorial): docs.dhtmlx.com/doku.php?id=othe … leted_demo
Unfortunately it’s not available to use more than 800 000 rows with the terrace skin for the reason of increased row height. Total height of the grid in case one million rows will be 40 000 000 pixels, which is really hard for rendering.
Get a guaranteed answer from DHTMLX technical support team
under the most suitable support plan