Gelmiş geçmiş en büyük porno sitemiz olan 2pe de her zaman en kaliteli pornoları sunmayı hedefledik. Diğer video sitemiz olan vuam da ise hd porno ağırlıklı çalışmalara başladık.

  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