Again, I answer myself.   ;-)
The event is called correctly.  I selected the item before registering the
event handler.

TreeVirtual._calculateSelectedNodes() shows the relationship between nodeId
and row indexes.
Maybe an API for easily selecting items could be made.
So everything is answered.  :-)


dperez wrote:
> 
> tree.getSelectionModel().setSelectionInterval(0, 0) works (selects the
> root node) but the changeSelection event isn't fired.
> 
> Never mind, I can call the event manually.
> 

-- 
View this message in context: 
http://www.nabble.com/How-to-select-an-item-in-treevirtual-tf3440169.html#a9592728
Sent from the qooxdoo-devel mailing list archive at Nabble.com.


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to