Re: Context Menu in CellTable

2012-07-10 Thread KalyanChakri
On executing the command on the MenuItem, Hide the popup. Something like this popupPanel.hide(); Thanks, Kalyan. On Thursday, June 23, 2011 5:00:09 PM UTC+2, André Salvati wrote: > Now, with a dynamic context (defined by View). > > The only problem that remains is that when I click t

Re: Context Menu in CellTable

2011-06-23 Thread André Salvati
Now, with a dynamic context (defined by View). The only problem that remains is that when I click the context menu, the place changes but popup still keeps opened. Does someone knows how to solve it? public class TextCellNX extends AbstractSafeHtmlCell{ MenuItem[] contextMenu;

Re: Context Menu in CellTable

2011-06-21 Thread André Salvati
Should I use EventBus even when the event is generated by an inner component? What would be a good design? Thanks. -- 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-web-toolkit@googlegroups.com.

Re: Context Menu in CellTable

2011-06-21 Thread André Salvati
Ok, following 1) I've got the code bellow. Now, how can I define an event handler on a view which wraps this CellTable?? These handlers are suposed to be defined by view and not by cells!! public class TextCellNX extends AbstractSafeHtmlCell { public TextCellNX() { supe

Context Menu in CellTable

2011-06-20 Thread André Salvati
Hi, just wondering the right way to create a context menu for rows inside a CellTable. 1) Working with events from my own TextCell as described bellow. http://stackoverflow.com/questions/4815596/adding-double-click-event-in-celltable-cell-gwt 2) Working with events from a wrapper widget which c