1. #1
    Sencha User
    Join Date
    Jul 2011
    Location
    Northern Virginia
    Posts
    6
    Vote Rating
    0
    dailey1000 is on a distinguished road

      0  

    Default Answered: CheckboxSelectionModel with cellselect listener

    Answered: CheckboxSelectionModel with cellselect listener


    Trying to have a checkboxSelectionModel with a cellselect listener or a rowselect and be able to determine which column the user selected. I want different actions for each column but I want the little checkbox thingy.
    Any suggestions? Thanks, Dani

  2. Selection can be performed using either a mouse click or key press. For row models, including checkbox selection, it only makes sense to talk about selected cells for a click, not a key press. This is why those selection models cannot give you this information themselves. You should consider how key-based selection impacts upon your requirements.

    I should emphasize that CheckboxModel is a selection model. You should think of it as little more than a glorified RowModel. If what you want is a just a checkbox, not a selection model, then there are other ways to get that.

    If you still want to know which cell is clicked you can find the relevant information in this thread:

    http://www.sencha.com/forum/showthread.php?144666

    I also suggest you take a look at:

    http://docs.sencha.com/ext-js/4-0/#!....column.Action

  3. #2
    Sencha Premium Member skirtle's Avatar
    Join Date
    Oct 2010
    Location
    UK
    Posts
    3,572
    Answers
    540
    Vote Rating
    310
    skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future

      0  

    Default


    Selection can be performed using either a mouse click or key press. For row models, including checkbox selection, it only makes sense to talk about selected cells for a click, not a key press. This is why those selection models cannot give you this information themselves. You should consider how key-based selection impacts upon your requirements.

    I should emphasize that CheckboxModel is a selection model. You should think of it as little more than a glorified RowModel. If what you want is a just a checkbox, not a selection model, then there are other ways to get that.

    If you still want to know which cell is clicked you can find the relevant information in this thread:

    http://www.sencha.com/forum/showthread.php?144666

    I also suggest you take a look at:

    http://docs.sencha.com/ext-js/4-0/#!....column.Action

  4. #3
    Sencha User
    Join Date
    Jul 2011
    Location
    Northern Virginia
    Posts
    6
    Vote Rating
    0
    dailey1000 is on a distinguished road

      0  

    Default


    Thanks for you help - greatly appreciated.

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