Hi,

I have a CellTable with EditTextCells. If I'm already in edit mode of an 
entry and click on another entry, I directly want it to also switch into 
edit mode.

This is the default behaviour which I try to change:
Default on any click outside a currently edited textcell is to commit the 
changes and let it remain selected.
The next click would select the new entry, and an additional click will 
change the new entry into edit mode.

How can I intercept the click when a commit takes place? Because then I 
could fire a simulated click NativeEvent on the new clicked entry forcing 
it into edit mode.

I tried extending EditTextCell and overriding onBrowserEvent():

        if (BrowserEvents.CLICK.equals(event.getType())) {
            System.out.println("click");
    }

BUT this does NOT print on a commit of a cell coming from edit mode. So 
where can I catch this event then?

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to