Author Topic: Meet error when use 'getSelection' under remote paging  (Read 2752 times)

ljfreedom

  • Newbie
  • *
  • Posts: 7
    • View Profile
Meet error when use 'getSelection' under remote paging
« on: October 27, 2017, 03:05:07 pm »
Hi
 I user remote paging ,page 1 is ok when I go to  page 2+  the following code got error


var grid = tablePort.pqGrid( "getInstance" ).grid;
var selectRow = grid.SelectRow().getSelection();

Uncaught TypeError: Cannot read property 'pq_rowselect' of undefined

Please help
Thanks

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6310
    • View Profile
Re: Meet error when use 'getSelection' under remote paging
« Reply #1 on: December 13, 2017, 09:45:39 am »
This is fixed in v>=4.0.2

ljfreedom

  • Newbie
  • *
  • Posts: 7
    • View Profile
Re: Meet error when use 'getSelection' under remote paging
« Reply #2 on: December 21, 2017, 06:56:16 am »
after upgrade to 5.0 ,this issue appear again, please help me

thanks