Author Topic: How to get ui.rowData for the event of selectEnd  (Read 1907 times)

lsl

  • Pro Deluxe
  • Jr. Member
  • *
  • Posts: 67
    • View Profile
How to get ui.rowData for the event of selectEnd
« on: March 16, 2017, 04:38:10 pm »
It works fine when I use

rowDblClick: function (event, ui) {            
                ui.rowData[key];                                       
}

However, if I change to use the selectEnd,
selectEnd : function (event, ui) {                           
}

I can only get the change by "ui.selection._areas[0].firstR" and ui.rowData don't work.
How can I do about this?



paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6310
    • View Profile
Re: How to get ui.rowData for the event of selectEnd
« Reply #1 on: March 16, 2017, 04:57:50 pm »
rowData can be calculated from rowIndx as

grid.getRowData( {rowIndx: rowIndx })