Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Sudeepti M on May 28, 2008 04:22
open dhtmlx forum
How to fix script error -" The data necessary to complete this operation is not yet avaialable.", on load of dhtmlXtree.

I am getting the script error -" The data necessary to complete this operation is not yet avaialable.", on load of dhtmlXtree.

But when i give a dummy alert in the function i call on load, i am not getting the script error and data displayed is correct.

How to fix this script error with out dummy alert.

Thanks in advance.
Answer posted by Support on May 28, 2008 06:44
The problem caused by situation when distributed parsing used - in such case the situation may occur when part of data already loaded, the other nodes still in parsing process and command executed against node which not parsed yet.

You can
a) not use distributed parsing
or
b) run you code from onXLE event, the event generated in moment when all data must be already parsed