micgala
22 Apr 2011, 2:21 AM
Hi.
Imagine I have just added a new node to a certain parent in my tree.
No imagine I want the viewer to focus on the row where the new node was added.
Right now, I'm doing it like this:
treeGrid.getView().focusRow(treeGrid.getView().findRowIndex(treeGrid.getView().getRow(model)));
Is there an easier way of accomplish this?
Thanks,
Michel.
Imagine I have just added a new node to a certain parent in my tree.
No imagine I want the viewer to focus on the row where the new node was added.
Right now, I'm doing it like this:
treeGrid.getView().focusRow(treeGrid.getView().findRowIndex(treeGrid.getView().getRow(model)));
Is there an easier way of accomplish this?
Thanks,
Michel.