PDA

View Full Version : [CLOSED] How can I select a TreeNode using JavaScript code



gets_gui
Oct 18, 2012, 9:09 PM
I am trying to select a tree node by doing this...


App.TreePanel.getSelectionModel().select(1, false, false) but it fails and the onSelectionChange event never get fired.

Can you please help?

geoffrey.mcgill
Oct 18, 2012, 10:05 PM
For me the <SelectionChange> Listener is fired correctly. Your code appears to be correct.