Hi List,
hi Derrell,

now i found a work arround:

var optionMenu = new qx.ui.menu.Menu;
table.setContextMenu(optionMenu);

table.addListener("mousedown", function(){
   optionMenu.removeAll();
   optionMenu.add(new qx.ui.menu.Button("Test " + Math.random()));
}); 

May be its usefull for them, who cant use MTableContextMenu mixin.


regards Sak
  ----- Original Message ----- 
  From: Mustafa Sak 
  To: qooxdoo Development 
  Sent: Tuesday, February 02, 2010 10:33 AM
  Subject: Re: [qooxdoo-devel] dynamic table menu


  Hi Derrell,

  i beleave your demo works fine, but not at my and 14 other pc (XP, Win7, 
Vista, Mac OSX, IE 6-8, FF 3.1 - 3.5.7, Safari).

  May bee somebody else can approve or disapprove my watching.

  Well, may bee i need a workarround. qx.ui.menu.Menu works fine on my App. I 
just want to remove all buttons before showing the Contextmenu and add new. Any 
suggestions?

  regards Sak
    ----- Original Message ----- 
    From: Derrell Lipman 
    To: qooxdoo Development 
    Sent: Monday, February 01, 2010 4:14 PM
    Subject: Re: [qooxdoo-devel] dynamic table menu


    On Mon, Feb 1, 2010 at 09:57, Mustafa Sak <[email protected]> wrote:

      Sorry but no way: tried FF 3.5.7, IE 8, Chrome, no context-menu on the 
demo.

    That demo works fine in Firefox. Right-clicking in either of the left 
columns gives the default context menu; the date column gives no context menu, 
and the checkbox column gives a custom context menu. Before you can work on 
getting our own application to do context menu stuff, you first have to get 
this demo working as I just stated. You may have to make configuration changes 
to your browser to allow it to do so.
     
       But I dont to use browser Context Menu, just want to load dynamicaly 
butoons to qx.ui.menu.Menu.

    Right, but apparently your browser is preventing the setting of 
user-provided context menus. That demo shows all three cases: default browser 
context menu, disabled context menu, and custom context menu. Once you get your 
browser configured so that the demo works, then you can do similarly with your 
own application. (Note, though, that you'll have to instruct your users to 
enable user-provided context menus in their browsers as well, if the default 
for their brower is not to allow them.)

    Derrell




----------------------------------------------------------------------------


    
------------------------------------------------------------------------------
    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
------------------------------------------------------------------------------
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