1. #1
    Sencha User
    Join Date
    Oct 2011
    Posts
    8
    Vote Rating
    0
    techno_oev is on a distinguished road

      0  

    Default Answered: highlight grid row

    Answered: highlight grid row


    I have a grid and want to highlight the row that has most recently been edited on the grid. Should I use the update event on the store? For some reason I cant get the event to fire. Please help with an example on how to do it.

  2. you have to add below in your grid's definition
    ......
    viewConfig: {
    getRowClass: function(record, index, params, store) {
    return store.getNewRecords().indexOf(record) >= 0 ? 'modified-row-cls' : '';
    }
    },
    .......

    and stylesheet will be -

    .modified-row-cls
    .x-grid-cell
    {
    background-color: #FFFFCC;
    }

  3. #2
    Sencha User
    Join Date
    Apr 2010
    Posts
    6
    Answers
    1
    Vote Rating
    0
    jpatel3 is on a distinguished road

      0  

    Default


    you have to add below in your grid's definition
    ......
    viewConfig: {
    getRowClass: function(record, index, params, store) {
    return store.getNewRecords().indexOf(record) >= 0 ? 'modified-row-cls' : '';
    }
    },
    .......

    and stylesheet will be -

    .modified-row-cls
    .x-grid-cell
    {
    background-color: #FFFFCC;
    }

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