Thursday, June 28, 2012

Re: HandlerManager for Cells

You could try table.addCellPreviewHandler(). Basically the handler is called before a cell receives the event in its Cell.onBrowserEvent() method. The PreviewEvent gives you access to the event type, column index and the row value. So you could check for the focus event and the column and then do your stuff with the row value from outside the table.

Cells just render strings so event handling is more low level than in widgets. 

-- J.

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

No comments:

Post a Comment