Author Topic: get selected id not work from 2 or 3 paging for grid.  (Read 2232 times)

carlossantillan

  • Pro Deluxe
  • Newbie
  • *
  • Posts: 4
    • View Profile
get selected id not work from 2 or 3 paging for grid.
« on: November 21, 2017, 09:23:38 pm »
Hi,

i have a product grid with more than 1 page (15 pages) with 10 row per page with  selectionModel: { type: 'row', mode: 'block' },. When i get selected rows from first page it works perfect with function

     var ids = this.SelectRow().getSelection().map(function(rowList){                           
                                   return rowList.rowData.id;
                               }); 

The problem is when i move forward to 2, 3 or next pages and get selected rows and shows a error:

Uncaught TypeError: Cannot read property 'pq_rowselect' of undefined
    at n.getSelection (pqgrid.min.js:17:7043)
    at e.(anonymous function).(anonymous function).listener (eval at <anonymous>
« Last Edit: November 21, 2017, 09:33:52 pm by carlossantillan »

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6307
    • View Profile
Re: get selected id not work from 2 or 3 paging for grid.
« Reply #1 on: November 21, 2017, 09:39:36 pm »
This is fixed in v4.0.2 Please use latest version.