skhan
04-25-2008, 05:45 PM
I was trying to add a RowDoubleClick listener to my TreeTable with no luck using the following code:
Listener<TreeTableEvent> l = new Listener<TreeTableEvent>() {
@SuppressWarnings("unchecked")
public void handleEvent(TreeTableEvent evt) {
//Do something
...
}
};
prodTable.addListener(Events.RowDoubleClick, l);
I also tried to add a listener for RowClick, CellClick and CellDoubleClick with the same results - none of the events ever get fired.
Is this a bug or am I confused about how to add a listener?
I'm still developing using Gxt Alpha1 taken from the old sites SVN because I can't use JDK 1.6 so if this is a bug it may have already been fixed.
Anyone have any ideas?
Listener<TreeTableEvent> l = new Listener<TreeTableEvent>() {
@SuppressWarnings("unchecked")
public void handleEvent(TreeTableEvent evt) {
//Do something
...
}
};
prodTable.addListener(Events.RowDoubleClick, l);
I also tried to add a listener for RowClick, CellClick and CellDoubleClick with the same results - none of the events ever get fired.
Is this a bug or am I confused about how to add a listener?
I'm still developing using Gxt Alpha1 taken from the old sites SVN because I can't use JDK 1.6 so if this is a bug it may have already been fixed.
Anyone have any ideas?