1. #1
    Sencha User
    Join Date
    Nov 2013
    Posts
    226
    Answers
    4
    Vote Rating
    -5
    xjscrafter is infamous around these parts

      0  

    Default Unanswered: Why does clicking icon in grid panel actioncolumn not select the row?

    Unanswered: Why does clicking icon in grid panel actioncolumn not select the row?


    I have a grid panel with an actioncolumn.

    There is an icon in the actioncolumn, and its click handler works fine.

    But when I click the icon, in the click handler I want to access the selected row, but it seems no row is selected.

    Is this expected? Do I need to manually set the selected row when an actioncolumn icon is clicked?

  2. #2
    Sencha User
    Join Date
    Nov 2013
    Posts
    226
    Answers
    4
    Vote Rating
    -5
    xjscrafter is infamous around these parts

      0  

    Default


    This seems to work, but why does the row not get selected when that row's actioncolumn icon gets clicked? Doesn't make sense.

    Code:
    grid.getSelectionModel().select(record);

  3. #3
    Sencha - Ext JS Dev Team evant's Avatar
    Join Date
    Apr 2007
    Location
    Sydney, Australia
    Posts
    16,797
    Answers
    452
    Vote Rating
    602
    evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute

      0  
    Evan Trimboli
    Sencha Developer
    Twitter - @evantrimboli
    Don't be afraid of the source code!

  4. #4
    Sencha User
    Join Date
    Nov 2013
    Posts
    226
    Answers
    4
    Vote Rating
    -5
    xjscrafter is infamous around these parts

      0  

    Default


    Thanks Evan. Default is true, so guess there is some rationale to that.

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