Results 1 to 2 of 2

Thread: Menu o.parentMenu error on showAt

  1. #1

    Default Menu o.parentMenu error on showAt

    I've got a simple row context menu on a grid panel, which should show at the specified coordinates. For some reason, the showAt function errors with "Object doesnt support this property or method" error.

    Within showAt, o.parentMethod is a numeric value (one of the coordinates), however this appears to be if the menu is shown against an element. Hence o.parentMenu.getEl() on an int produces the error.

    Can anyone advise? Is this a config error or a bug?

        grid.addListener('rowcontextmenu', function(grid, rowIndex, e) {
            var xy = e.getXY();
                items: [
                    { text: 'Menu Item', handler: function() {}, scope: this, iconCls: 'no-icon' }
            }).showAt(xy[0], xy[1]);
        }, this);

  2. #2


    Sorry chaps, my mistake. I'm having one of those days. I looked at this for ages too


Similar Threads

  1. How to show menu using showAt method?
    By saadkhan in forum Ext 3.x: Help & Discussion
    Replies: 7
    Last Post: 2 Dec 2009, 9:34 AM
  2. Menu.showAt() question
    By parky128 in forum Ext 2.x: Help & Discussion
    Replies: 0
    Last Post: 1 Dec 2009, 8:03 AM
  3. Why Menu.showAt does not fire "beforeshow"?
    By atchijov in forum Ext 3.x: Help & Discussion
    Replies: 0
    Last Post: 9 Sep 2009, 8:52 AM
  4. [CLOSED][3.??] Menu.showAt() fails to display menu
    By stupidext in forum Ext 3.x: Bugs
    Replies: 9
    Last Post: 14 May 2009, 2:48 AM
  5. Suggested slight modification to Ext.Menu.showAt()
    By digeomel in forum Community Discussion
    Replies: 0
    Last Post: 27 Jun 2007, 7:50 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts