Re: [qooxdoo-devel] Table cellContextmenu event

2009-02-26 Thread Miron Brezuleanu
Thank you, I will try it out. On Wed, Feb 25, 2009 at 10:28 PM, Derrell Lipman wrote: > On Wed, Feb 25, 2009 at 11:02 AM, Miron Brezuleanu wrote: >> >> I need to attach a context menu to a table. > > I just checked in a new mixin, qx.ui.table.MTableContextMenu, that makes it > easy to handle con

Re: [qooxdoo-devel] Table cellContextmenu event

2009-02-25 Thread Derrell Lipman
On Wed, Feb 25, 2009 at 11:02 AM, Miron Brezuleanu wrote: > > I need to attach a context menu to a table. I just checked in a new mixin, qx.ui.table.MTableContextMenu, that makes it easy to handle context menus in Table and TreeVirtual. There's also a new demobrowser demo, Table/Table_Context_M

Re: [qooxdoo-devel] Table cellContextmenu event

2009-02-25 Thread Ian Horst
I use customized contextmenu setter as besides of default contextmenu action I add alternate action for contextmenu too. // This is how I set contextmenu to cells. table.getPaneScroller(0).getTablePane().setContextMenu(contextMenu); Ian Horst Miron Brezuleanu wrote: > Hello, > > I need to att

[qooxdoo-devel] Table cellContextmenu event

2009-02-25 Thread Miron Brezuleanu
Hello, I need to attach a context menu to a table. The context menu needs to display different options depending on the clicked cell. The solution I've found so far is to hold on to a reference of the context menu set for the table, and configure the context menu in the cellClick handler. I expect