$(tree).dynatree("getSelectedNodes") throwing error on Page Refresh

41 views
Skip to first unread message

Balakumar Balasubramanian

unread,
May 19, 2014, 5:14:11 PM5/19/14
to dyna...@googlegroups.com
Hi,

I have been using Dynatree to create multiple trees few single selects and few multiple selects..
On final page load I call a method to get the selected nodes of each tree object..
Generally I dont have any issue getting the selected nodes of each tree object..

However on a given page when I do a F5 (page refresh) the method to get the selected nodes fails and throws an error that the initialization needs to be done before calling the getSelectedNodes method.. 

I am not sure what I am doing wrong, but first time load works fine and there is no special logic to differentiate between a refresh and load.. 

Appreciate your thoughts..

Thanks
Kumar
Reply all
Reply to author
Forward
0 new messages