1. #1
    Ext JS Premium Member
    Join Date
    Jul 2008
    Location
    Germany
    Posts
    34
    Vote Rating
    3
    martinorth is on a distinguished road

      0  

    Default Ext.draw.Sprite and contextmenu

    Ext.draw.Sprite and contextmenu


    visualquerybuilder.jpg

    I have developed an extjs based javascript visual sql query builder. At the moment it's a beta version and I want to add contextmenus to the join lines between the sql tables. What would be the best way to achieve this? sprite.el.on('contextmenu',function(){}); ?

  2. #2
    Touch Premium Member
    Join Date
    Nov 2010
    Location
    Chicago
    Posts
    1,353
    Vote Rating
    136
    LesJ is a name known to all LesJ is a name known to all LesJ is a name known to all LesJ is a name known to all LesJ is a name known to all LesJ is a name known to all

      0  

    Default


    Quote Originally Posted by martinorth View Post
    What would be the best way to achieve this? sprite.el.on('contextmenu',function(){}); ?
    This is what I'd try. Is it not working?

  3. #3
    Ext JS Premium Member
    Join Date
    Jul 2008
    Location
    Germany
    Posts
    34
    Vote Rating
    3
    martinorth is on a distinguished road

      0  

    Default


    [SOLVED] Yes, it works. It's a path and only the right clicks on the path are captured.

  4. #4
    Sencha User
    Join Date
    Nov 2009
    Posts
    1
    Vote Rating
    0
    santogudi is on a distinguished road

      0  

    Default Question

    Question


    Hi,

    Could you please share you solution ?

    Thanks

Thread Participants: 2