No answer? :(

Von meinem iPhone gesendet

Am 28.01.2010 um 17:49 schrieb "Mustafa Sak" <[email protected]>:

Hi devs,

want to have a dynamic table context menu. I tryed to use "beforeContextmenuOpen" event to remove all buttons on menu and add new ones and it works in source version, but not at build. I got this Error:

067836 Expected event type to be instanceof 'qx.event.type.Mouse' but found 'qx.event.type.Data'

table.addListener("beforeContextmenuOpen", function(){
    optionMenu.removeAll();

    var tsm = table.getSelectionModel();
    tsm.iterateSelection(function(ind) {
     var rData = table.getTableModel().getRowData(ind);
     var meta = rData[2];
     var RowData =rData[3];

     for (i=0;i<meta.length;i++)
     {
      optionMenu.add(bnt = new qx.ui.menu.Button(meta[i]["name"]));
      bnt.meta = meta[i];
      bnt.addListener("execute", function(e)
      {
        ....

       ...
      });
     }

    });


   });

regards Sak
--- --- --- ---------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to