1. #1
    Sencha User
    Join Date
    Mar 2013
    Posts
    18
    Vote Rating
    0
    andyts93 is on a distinguished road

      0  

    Default Unanswered: Strange problem with context menu item

    Unanswered: Strange problem with context menu item


    Hi, I'm using a context menu in my grid and it often works fine. The problem is that sometimes it appears like this and I'm unable to click the first option:
    errore-menu.jpg
    When it happens there aren't errors in the debug console. Here's my code
    Code:
    var dispMenuCart = new Ext.menu.Menu({        bodyPadding: 0,
            items: [
                {
                    text: 'Disponibile',
                    id: 'opt1'
                },
                {
                    text: 'In verifica',
                    id: 'opt2'
                },
                {
                    text: 'Non disponibile',
                    id: 'opt3'
                }
            ],
            listeners: {
                click: function(menu, item, e, opts){
                    // some stuff
                }
            }
        });

  2. #2
    Ext JS Premium Member tvanzoelen's Avatar
    Join Date
    Apr 2008
    Location
    Groningen - Netherlands
    Posts
    1,120
    Vote Rating
    30
    Answers
    85
    tvanzoelen has a spectacular aura about tvanzoelen has a spectacular aura about tvanzoelen has a spectacular aura about

      0  

    Default


    What version do you use?

  3. #3
    Sencha User
    Join Date
    Mar 2013
    Posts
    18
    Vote Rating
    0
    andyts93 is on a distinguished road

      0  

    Default


    I'm using 4.1.1

  4. #4
    Sencha User
    Join Date
    Mar 2013
    Posts
    18
    Vote Rating
    0
    andyts93 is on a distinguished road

      0  

    Default


    can anybody help me please?

  5. #5
    Ext JS Premium Member tvanzoelen's Avatar
    Join Date
    Apr 2008
    Location
    Groningen - Netherlands
    Posts
    1,120
    Vote Rating
    30
    Answers
    85
    tvanzoelen has a spectacular aura about tvanzoelen has a spectacular aura about tvanzoelen has a spectacular aura about

      0  

    Default


    Yes, first I see you use the id property. Can you change that into itemId?

Thread Participants: 1

Tags for this Thread