PDA

View Full Version : Cel/Row Click and DoubleClick events in TreeTables


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?

pfiffi
04-26-2008, 09:14 AM
I have exactly the same problem. Non of the events is being fired. At the moment, I kind of working around using the a SelectionChangeListener... It's doing the job for now.

But it would be good to have the listeners working for the click and double click events.

I am using Ext-GWT-1.0 beta1 with JDK6

jschwarz0
06-20-2008, 01:03 PM
this still seems broke in Release 1.0 RC1