Results 1 to 5 of 5

Thread: Find the grid on which the context menu item is clicked on

  1. #1

    Default Find the grid on which the context menu item is clicked on


    I have a grid panel and i have a item context menu on it, which have sub items as well. When a user clicks on the sub menu item or context menu item, i want to know on which grid panel this context menu is on. Can i do this?

  2. #2
    Sencha User
    Join Date
    Feb 2013


    You only mentioned one grid panel. Do you mean that you'd like to know which cell was right-clicked?

  3. #3



    Yeah that is also 1 requirement and if i get that may be i can find out the grid info also.

  4. #4
    Sencha User
    Join Date
    Apr 2013


    You could just assign grid to your menu when you create the menu.
    If you have set-up a "itemcontextmenu(view, record)" event handler on the grid panel, you can get the grid panel by getting table view's owner container ("view.ownerCt").

  5. #5



    I want the gird info when i click on the menu item in context menu

Similar Threads

  1. [OPEN] Unexpected context menu is displayed when SA background is right-clicked
    By yukiozeki in forum Sencha Architect 3.x: Bugs
    Replies: 1
    Last Post: 19 Aug 2014, 9:24 AM
  2. How to find which cell is clicked in a list item
    By sindhu.singh in forum Sencha Touch 2.x: Q&A
    Replies: 1
    Last Post: 7 Jun 2013, 2:05 AM
  3. How to recognize the column on which user has right clicked and open context menu?
    By livinglegends in forum Ext 2.x: Help & Discussion
    Replies: 16
    Last Post: 27 Dec 2010, 3:56 AM
  4. Which grid row is clicked when opening context menu?
    By sbarkdull in forum Ext GWT: Help & Discussion (1.x)
    Replies: 4
    Last Post: 14 Jan 2009, 1:31 AM
  5. Replies: 3
    Last Post: 8 Apr 2008, 11:52 AM

Tags for this Thread

Posting Permissions

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