Solved: Don't know if this is the best solution, but it works. In the treeOpenWithContent event, I start a timeout to select the rows associated to selected child nodes.
dperez wrote: > > Dear tree gurus, > > I would like to select programmatically a node in a TreeVirtual. > I use this technique successfully: > > var row = tree.getDataModel().getNodeRowMap()[myNodeId]; > tree.getSelectionModel().addSelectionInterval(row, row); > > But when the nodeId is inside a collapsed node, then row == null and this > technique fails. > Any idea? > > Regards, > David > -- View this message in context: http://www.nabble.com/TreeVirtual%3A-how-to-select-programmatically-a-node-tf4156835.html#a11827010 Sent from the qooxdoo-devel mailing list archive at Nabble.com. ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ qooxdoo-devel mailing list qooxdoo-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel