Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by jp on Oct 30, 2007 15:42
open dhtmlx forum
Loading image

Hi, i'm using enableDistributedParsing on a grid and i have 2 questions:

1. I'm using onXLS and onXLE events to show and hide a loading message, the problem is that when the first part of the grid is loaded the loading message disappears because the onXLE event is launched and the onXLS event is never launched again so the loading message keeps hided. How can i keep showing the loading message till the grid is fully loaded?

2. Is there any way to know when the grid is completely loaded with the distributed parsing enabled??
Answer posted on Oct 31, 2007 03:17
Which version of dhtmlxGrid do you use?
Actually in latest codebase the onXLE event fire only all data from XML processed, not after first chunk.

If you are using old version - the only way to add custom code to the _contextCall - this function called for each pause in parsing.
( If problem occurs even in latest code - please send any kind of sample where problem can be reconstructed to support@dhtmlx.com )