1. #1
    Sencha User
    Join Date
    Aug 2012
    Posts
    1
    Vote Rating
    0
    stea1thblaze is on a distinguished road

      0  

    Default Answered: Combobox with internal hyperlinks

    Answered: Combobox with internal hyperlinks


    Does anyone know if it is possible to include hyperlinks within a GXT combobox? I have the following implementation, where a user would select one of the names. The IDs (numbers) on the right are hyperlinks, defined in the template attached to the combobox.

    Untitled.png

    However, clicking on one of the ID hyperlinks causes a select event to occur, before the link is followed. Ideally, the ID links on the right side would open new browser windows, while leaving the combobox unselected.

    Any help would be much appreciated. Thanks!

  2. Hi.

    You might want to try add a BeforeSelect event listener to the grid in your combobox:Fires before a row is selected. Listeners can cancel the action by calling setCancelled(true)

    Then, the row won't be selected, and your link can react, without the combobox change its value.

    Give it a try.

  3. #2
    Sencha User
    Join Date
    Nov 2008
    Location
    Vienna - Austria
    Posts
    867
    Answers
    9
    Vote Rating
    1
    micgala is on a distinguished road

      0  

    Default


    Hi.

    You might want to try add a BeforeSelect event listener to the grid in your combobox:Fires before a row is selected. Listeners can cancel the action by calling setCancelled(true)

    Then, the row won't be selected, and your link can react, without the combobox change its value.

    Give it a try.

Thread Participants: 1

Tags for this Thread

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