1. #1
    Touch Premium Member
    Join Date
    Sep 2010
    Location
    UK
    Posts
    54
    Vote Rating
    1
    Joe Kuan is on a distinguished road

      0  

    Default Help: pull down menu on grid cell

    Help: pull down menu on grid cell


    Hi,

    I would like to implement a pull down menu when clicking on a grid cell. So I can launch further actions with the value inside the cell. However, the closest extjs feature I observe is combo box but this is not exactly I want because selecting a value also changing the value inside the box.

    Thanks
    Joe

  2. #2
    Ext JS Premium Member troseberry's Avatar
    Join Date
    Feb 2010
    Location
    Dayton, OH
    Posts
    277
    Vote Rating
    9
    troseberry will become famous soon enough

      0  

    Default


    try the Ext.menu.Menu

  3. #3
    Sencha - Community Support Team Condor's Avatar
    Join Date
    Mar 2007
    Location
    The Netherlands
    Posts
    24,246
    Vote Rating
    91
    Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of

      0  

    Default


    1. Create an Ext.menu.Menu.
    2. In the cellclick handler of the grid check if the correct column was clicked.
    3. Show the menu at the event coordinates (or get the cell position and align the menu to that).

  4. #4
    Touch Premium Member
    Join Date
    Sep 2010
    Location
    UK
    Posts
    54
    Vote Rating
    1
    Joe Kuan is on a distinguished road

      0  

    Default


    Cool, thanks. Much appreciated.

Similar Threads

  1. [2.2] ComboBox in Grid won't Pull Down
    By fulfowi in forum Ext 2.x: Help & Discussion
    Replies: 4
    Last Post: 14 Sep 2009, 11:43 AM
  2. menu from grid cell
    By nar in forum Ext 3.x: Help & Discussion
    Replies: 1
    Last Post: 22 Jul 2009, 2:32 AM
  3. Menu of actions in cell on a grid
    By aasanchez in forum Ext 2.x: Help & Discussion
    Replies: 0
    Last Post: 2 Apr 2009, 1:15 PM
  4. how to create a button with a menu in a grid cell?
    By petchia in forum Ext 2.x: Help & Discussion
    Replies: 1
    Last Post: 1 Jan 2008, 10:44 AM

Thread Participants: 2