How to Make a NumberCell Clickable

25 views
Skip to first unread message

savilak

unread,
Nov 27, 2010, 3:58:52 AM11/27/10
to Google Web Toolkit
Hi,

how can I make a NumberCell clickable (just like ClickableTextCell)?

I need to do this because I am using Sortable Column is my cell Table
and i need to be able to click on number sorted columns.

Thank you for your time.

Savilak

John LaBanca

unread,
Nov 28, 2010, 7:20:59 PM11/28/10
to google-we...@googlegroups.com
Your best bet is to create a new AbstractCell that renders a Number (copy the render method from NumberCell) and fires the ValueUpdater when clicked (copy onBrowserEvent from ClickableTextCell).

Thanks,
John LaBanca
jlab...@google.com



--
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