Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
410
igGridSelection('selectedRows')
posted

I'm using this method igGridSelection('selectedRows') to get the selected rows, but it does not return all the selected rows when using the grid's paging feature. It looks like it only returns the selectedRows for the current page. I'm using the EnableCheckBoxes feature to display a checkbox on the row, and I would like to get all the rows with the checkbox checked on all the pages.

Thanks

Parents
No Data
Reply
  • 2745
    Offline posted

    A developer here wanted to do the same thing and I believe the answer was that you needed to manage that on your own.  Most of the API's only work with the current page or result set.  What you need to do is hook into the page change 'ing' event and capture which items are selected before the page changes.

    Then when you want work that subset of data, you'll need to base it off of the what you have locally.  He was able to achieve the same effect without much effort.

Children