Hi,
I have a TreeView in my application that needs to be rebuilt on request, but on the first attempt to recreate it fails, with the "loading..." message displayed permanently;
A simple Fiddle to show the problem is at http://jsfiddle.net/Cantabrigian/vtmx15tm/4/
Clicking the "Make it button" makes the TreeView appear as expected, but if you press it again it just says "Loading.."; clicking the button a third time makes it appear correctly, and so on.
(Of course in my app the content of the TV may be different each time.)
What do I need to do to make it reload correctly? Do I need to destroy the old version first somehow?
Thanks,
Andrew
I have a TreeView in my application that needs to be rebuilt on request, but on the first attempt to recreate it fails, with the "loading..." message displayed permanently;
A simple Fiddle to show the problem is at http://jsfiddle.net/Cantabrigian/vtmx15tm/4/
Clicking the "Make it button" makes the TreeView appear as expected, but if you press it again it just says "Loading.."; clicking the button a third time makes it appear correctly, and so on.
(Of course in my app the content of the TV may be different each time.)
What do I need to do to make it reload correctly? Do I need to destroy the old version first somehow?
Thanks,
Andrew