jqGrid multiselect, checked-box persist when move to the next page

前端 未结 6 949
忘了有多久
忘了有多久 2021-02-06 03:56

If you see jqGrid demo :

http://www.trirand.com/blog/jqgrid/jqgrid.html

Section : Advanced --> Multiselect

You\'ll see that the checked checkbox is not p

6条回答
  •  萌比男神i
    2021-02-06 04:58

    Look at the event list here http://www.trirand.com/jqgridwiki/doku.php?id=wiki:events

    The logic is: everytime the "onPaging" event is fired, you should iterate through each row and store the unique id of each row to an array, also iterate through your array of id and check all of the select box everytime the "onPaging" is fired.

提交回复
热议问题