PDA

View Full Version : Select a node in a tree view



ahsec
19 Nov 2012, 6:14 AM
Hey

Does someone know how to trigger a select event for a node in a tree view?

Thanks :-)

Albareto
19 Nov 2012, 6:26 AM
Try:

tree.getSelectionModel().select(node);

Farish
19 Nov 2012, 6:27 AM
if you have the record, you can use the selection model to select it:


tree.getSelectionModel().select(record);

ahsec
19 Nov 2012, 6:45 AM
:-)