1. #1
    ExtJS Premium Member
    Join Date
    Feb 2010
    Location
    Neptune Beach, Florida
    Posts
    50
    Vote Rating
    1
    gbegley is on a distinguished road

      0  

    Default How to show Context Menu without triggering a Selection event

    How to show Context Menu without triggering a Selection event


    I have a TreePanel with selection events doing some other loader stuff on other components. The Tree also has a Context Menu. When the context menu is invoked with a right click, it also triggers a Selection Event, causing the loader code to run from the selected node.

    I would like the right click to only show the context menu and not trigger the selection event. Ideas?

  2. #2
    Software Architect
    Join Date
    Sep 2007
    Posts
    13,971
    Vote Rating
    132
    sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light

      0  

    Default


    You will need to extend TreePanelSelectionModel and override onMouseDown. If it was a rightclick dont call the super method, btu call it in all otehr places.

Similar Threads

  1. [GXT 2.1] Context menu not hiding after selection.
    By alexmat in forum Ext GWT: Discussion
    Replies: 2
    Last Post: 5 Jan 2010, 4:15 PM
  2. Replies: 2
    Last Post: 15 Jul 2009, 7:34 AM
  3. Replies: 1
    Last Post: 24 Jun 2009, 6:21 PM
  4. Making the column selection context menu scrollable or two columns
    By perzian in forum Ext 1.x: Help & Discussion
    Replies: 0
    Last Post: 10 Jul 2008, 1:23 PM
  5. Context menu on grid causes browser's context menu to show
    By sfwalter in forum Ext 1.x: Help & Discussion
    Replies: 2
    Last Post: 7 May 2007, 3:59 PM

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..."