1. #1
    Sencha User
    Join Date
    Feb 2012
    Posts
    9
    Vote Rating
    0
    Satakshi is on a distinguished road

      0  

    Default Unanswered: How to get the index of selected row after each Sort?

    Unanswered: How to get the index of selected row after each Sort?


    According to my rquirement I want to get the index of the selected row of a grid, whenever a sort event&amp;nbsp; (the default one of EXT JS4 )occurs.<br>Please help.

  2. #2
    Sencha - Support Team scottmartin's Avatar
    Join Date
    Jul 2010
    Location
    Houston, Tx
    Posts
    9,154
    Vote Rating
    475
    Answers
    685
    scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future

      0  

    Default


    You create a listener for the grid to get this information:

    Code:
    this.grid.getSelectionModel().on('select', function(selModel, model, idx) {
    }, this);
    Regards,
    Scott.

Thread Participants: 1