Hybrid View

  1. #1
    Sencha User
    Join Date
    Oct 2008
    Posts
    278
    Vote Rating
    0
    livinglegends is on a distinguished road

      0  

    Default How to recognize the column on which user has right clicked and open context menu?

    How to recognize the column on which user has right clicked and open context menu?


    Hi,

    In my application, I have GridPanel with 5 columns, C1 to C5.

    I want to put context menu on GridPanel but it should be different columnwise.

    So, how to get the column details on which user has right clicked?

    User can right click on any row. I want to detect, on which column level, he has opened context menu.

    Thanks

  2. #2
    Sencha - Community Support Team Condor's Avatar
    Join Date
    Mar 2007
    Location
    The Netherlands
    Posts
    24,246
    Vote Rating
    89
    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


    You can use rowIndex and colIndex parameters of the cellcontextmenu event to determine the current record (from the store) and the current column (from the column model).

  3. #3
    Sencha User
    Join Date
    Oct 2008
    Posts
    278
    Vote Rating
    0
    livinglegends is on a distinguished road

      0  

    Default


    Ok..thanks...done it

    One question regarding ToolTip: I have one button and put ToolTip on it. When I put cursor on it, it open tooltip.
    What I want is, when user click on button, it should open tooltip rather than on mouse over.

    In short, I dont want to open tooltip on mouse over but on click button.

    How, to achieve this?

  4. #4
    Sencha - Community Support Team Condor's Avatar
    Join Date
    Mar 2007
    Location
    The Netherlands
    Posts
    24,246
    Vote Rating
    89
    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


    Do you actually want a tooltip? Or are you looking for a button with a menu?

  5. #5
    Sencha User
    Join Date
    Oct 2008
    Posts
    278
    Vote Rating
    0
    livinglegends is on a distinguished road

      0  

    Default


    I want tooltip...not button with menu..

    Actually, I want to add GridPanel in tooltip of button, but it should open on click on button rather than mouse over.

  6. #6
    Sencha - Community Support Team Condor's Avatar
    Join Date
    Mar 2007
    Location
    The Netherlands
    Posts
    24,246
    Vote Rating
    89
    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


    Create the Tooltip instance separately and showAt it in the button click handler.

Similar Threads

  1. [OPEN][BETA3]Duplicate menu items in context menu
    By R.J in forum Ext.nd for Notes/Domino
    Replies: 0
    Last Post: 7 Dec 2009, 9:23 PM
  2. 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

Thread Participants: 1

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi