Celltable rows selection with focus

61 views
Skip to first unread message

Deepak Singh

unread,
Jan 30, 2011, 5:30:32 AM1/30/11
to google-we...@googlegroups.com
Hi,

I am using GWT 2.1.1 and have one celltable working fine.
I want to provide better user experience so i need to implement the following feature,

I want the rows to be selected with focus and then get the selected object for further action.
when the table is created and appeared first time, the focus should automatically go to first row and the row should automatically be selected and as focus moves through rows by using arrow keys, corresponding rows should be selected and i should be able to get the selected object with focus moving on.

I tried to add FocusHandler to celltable but could not find any suitable API for this.

Suggest some ways to acheive this.

Thanks

Deepak Singh

unread,
Jan 31, 2011, 11:42:23 AM1/31/11
to google-we...@googlegroups.com
 Any suggestion pls...

Zak

unread,
Jan 31, 2011, 2:09:27 PM1/31/11
to Google Web Toolkit
These docs should help you:

http://code.google.com/webtoolkit/doc/latest/DevGuideUiCellWidgets.html#selection

On Jan 31, 11:42 am, Deepak Singh <deepaksingh...@gmail.com> wrote:
>  Any suggestion pls...
>

Deepak Singh

unread,
Jan 31, 2011, 3:00:44 PM1/31/11
to google-we...@googlegroups.com
No. there is nothing here mentioned as how to add focusHandler to any cell or celltable.

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-we...@googlegroups.com.
To unsubscribe from this group, send email to google-web-tool...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.


Reply all
Reply to author
Forward
0 new messages