Categories | Question details Back To List | ||||||||
dhtmlXtree: loading... message I've seen several KB articles from people that want to have a "loading..." message displayed when the tree is initially loading, since it can take 5-seconds. All the reponses point to attaching to the onXLE and onXLS events, however I haven't seen one example. I've tried using these events to display & hide some text in a DIV right above and right inside of the DIV that holds the tree. I am not having much success - the extra text seems to mess up the display of the tree when it's expanded - I get multiple scroll bars. I've searched the examples, and I don't see an example of doing this (display a "loading..." message when the tree is loading). Could you please provide sample code for this - I think a lot of people would benefit from this. Note: I am using enableSmartXMLParsing, and I'd prefer to not show the "loading..." message on each expand of a previously unloaded item. Answer posted by Support on Jun 28, 2008 07:29 Sample of usage attached to post ( please be sure to load sample by http like url, because , if you will use IE and direct file link - like c:/code.html - the behavior will change ) >>I am using enableSmartXMLParsing, and I'd prefer to not show the "loading..." message Events generated only for cases, when data loaded from server, so it will not be show for opening items in SmartXMLParsing mode Attachments (1)
|