Adding keyboard listener to flex table

41 views
Skip to first unread message

Denis

unread,
Sep 13, 2007, 7:35:00 AM9/13/07
to Google Web Toolkit
Hello,

Is there a simple way to add a keyboard listener to a flextable?
I am targeting a multiple row selection solution for the flextable.

Cheers.

Les Harris

unread,
Sep 13, 2007, 7:43:57 AM9/13/07
to Google-We...@googlegroups.com
Two options come to my mind:

1 ) Subclass the flextable to accept browser events. See this thread
for info how to do that:
http://groups.google.com/group/Google-Web-Toolkit/browse_thread/thread/c0c4a502ae2fd3fa/034184f854f54420?lnk=gst&q=mouseover+on+hyperlink&rnum=2#034184f854f54420

2) Pop it into a FocusPanel

Subclass Flextable

Denis

unread,
Sep 13, 2007, 7:53:27 AM9/13/07
to Google Web Toolkit
Thanks for the ideas!

On Sep 13, 1:43 pm, "Les Harris" <orphean...@gmail.com> wrote:
> Two options come to my mind:
>
> 1 ) Subclass the flextable to accept browser events. See this thread

> for info how to do that:http://groups.google.com/group/Google-Web-Toolkit/browse_thread/threa...


>
> 2) Pop it into a FocusPanel
>
> Subclass Flextable
>

Axel Kittenberger

unread,
Sep 13, 2007, 9:20:24 AM9/13/07
to Google Web Toolkit
"Pop it into a FocusPanel"

This! If it needs keyboard events, it needs focus!

Reply all
Reply to author
Forward
0 new messages