1. #1
    Sencha User
    Join Date
    Mar 2012
    Posts
    75
    Vote Rating
    1
    owenho is on a distinguished road

      0  

    Default deselect events for gridpanel

    deselect events for gridpanel


    Hi all,
    i need to now , how can i get the id of row deselected.
    i use the event deselect but i dont now how can i get the id of row?
    please help

  2. #2
    Sencha - Support Team scottmartin's Avatar
    Join Date
    Jul 2010
    Location
    Houston, Tx
    Posts
    9,197
    Vote Rating
    482
    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 can push the deselected rows to an array in a listener:

    Ext.selection.Model :: selectionchange()

    Regards,
    Scott.

  3. #3
    Sencha User
    Join Date
    Mar 2012
    Posts
    75
    Vote Rating
    1
    owenho is on a distinguished road

      0  

    Default


    Hi,
    i used the deselected events of gridpanel.:
    Code:
    deselect : function(model, record, index) {  ............   }
    and record.get('id') for getting the id of line

    thnaks scottmartin for your help,

Thread Participants: 1