1. #1
    Ext JS Premium Member
    Join Date
    Mar 2011
    Posts
    2
    Vote Rating
    0
    kinamu is on a distinguished road

      0  

    Question CheckboxSelectionModel and sort by its checked records

    CheckboxSelectionModel and sort by its checked records


    Is there any possibility to sort an grid which is using a CheckboxSelectionModel by its selected (checked) items?
    I want to display the checked records on the top the grid! All unchecked records should follow the checked items. I didn't find a proper solution to realize that, because sorting seems to work only with record's fields but the check marker is no field of the record.
    I'm using ExtJS 3.3.1.

  2. #2
    Sencha Premium Member skirtle's Avatar
    Join Date
    Oct 2010
    Location
    UK
    Posts
    3,573
    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


    There may be a better way but you could have a dummy field in the store that holds the value of the checkbox. Using listeners on the selection model it should be possible to keep the field value correct, setting it using the record's set() method.

  3. #3
    Ext JS Premium Member
    Join Date
    Mar 2011
    Posts
    2
    Vote Rating
    0
    kinamu is on a distinguished road

      0  

    Default


    Okay I'm going to try to do it in this way...
    But sounds complicate for a simple task

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..." hd porno faketaxi