Re: [qooxdoo-devel] TreeVirtual: how to select programmatically a node

2007-07-27 Thread Derrell Lipman
On 7/27/07, dperez <[EMAIL PROTECTED]> wrote: > > 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. That is likely your best option. Selections can only occur on nodes t

Re: [qooxdoo-devel] TreeVirtual: how to select programmatically a node

2007-07-27 Thread dperez
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 techni

[qooxdoo-devel] TreeVirtual: how to select programmatically a node

2007-07-27 Thread dperez
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