I'm not sure why exactly qx.ui.table.Table overrides _onContextMenuOpen with
an empty implementation, but until I know here's what I have to do:

   http://tinyurl.com/gm2az7a (qooxdoo 5.0.x work-around)

I "re-enabled" the super-super-class' method in a derived Table class like:
// ---------------------------------------------------------------------------
qx.Class.define("my.Table", {
   extend: qx.ui.table.Table,
   members : {
     // overridden
     _onContextMenuOpen : function (e) {
       //
       // qx.ui.table.Table overrides an empty implementation, but we need this
       // to show the context menu on header cells.
       //
       // Therefore we call the "super.super" method (qx.ui.core.Widget)
       //
       qx.ui.core.Widget.prototype._onContextMenuOpen.call(this, e);
     }
   }
});
// ---------------------------------------------------------------------------

Regards,
   Peter


Am 2/8/2016 um 5:15 PM schrieb Peter Schneider:
> Hi there,
>
> after an upgrade to qooxdoo 5.0.1 adding a context menu to a table does not
> render it when (right-)clicked on header cells / pane.
>
> I can see that the (empty) override of _onContextMenuOpen at qx.ui.table.Table
> prevents this from happening.
>
> What do I need to do to make the context menu (re-)appear on table header
> cells?
>
> Or is this a regression that I can't work around without patching the
> framework...
>
> For comparison:
> 4.0.x   : http://tinyurl.com/z8ch32p (     context menu on header)
> current : http://tinyurl.com/jop2fck (*no* context menu on header)
>
> Regards,
>     /Peter
>

-- 

** Unsere Veranstaltungen 2016 - Termine vormerken!
Logimat, Stuttgart in Halle 7, Stand A05 8.-10.3.2016
T-Matik, Greven 10.05.2016
InnoMATIK 2016, 4. Innovationsforum Telematik 18.-19.05.2016
 >> Um Anmeldung wird gebeten: http://tis-innomatik.de/
BWVL-Jahrestagung im Oktober 2016

** Kennen Sie schon unseren Blog?
telematics-magazine.com

** Interesse an unseren Unternehmensneuigkeiten? >> Newsletteranmeldung: 
http://www.tis-gmbh.de/de/newsletter/anmeldung 


------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to