ops i missed something...:) you have to retrieve a TreeNode and not a node...as you can see for example
in the sources of the xmltreeloader where inside the createNode sets the check... bye 2009/4/14 Patrizio De Michele <[email protected]> > from the root call the cascade method and inside the callback set the check > > obviously remember to return true at the end of the callback... > > i hope i answered yuor question.... > bye pat > 2009/4/14 francis <[email protected]> > >> >> >> Could anybody help me, I would like to get an array of child nodes >> from a tree node and >> i would like to set each node with setChecked() method to render a >> checked checkbox. >> >> From what I've tried, the getChildNodes() method of the Node class >> returns a Node[] and >> the Node class doesn't have a setChecked(boolean) method. Am I missing >> something? >> Do you guys know of the proper way of doing this? Or any workarounds? >> >> Thanks in advance. >> >> >> >> > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "GWT-Ext Developer Forum" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/gwt-ext?hl=en -~----------~----~----~----~------~----~------~--~---
