This is a migrated thread and some comments may be shown as answers.

how find all selected items in grid

1 Answer 96 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Oren Kremer
Top achievements
Rank 1
Oren Kremer asked on 15 Nov 2010, 01:37 PM
Hi

I have a grid, and I choose rows in different pages.
I use the function get_selectedItems () in Java Script
but this function returns me only the selected values from this page
How am I supposed to do to get the selected data from all pages
in the server side I see all the selected rows in diferant page

Thanks

1 Answer, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 16 Nov 2010, 09:22 AM
Hello Eyal,

RadGrid loses its current selection when  the current page changes. If you want the client-side selection to persist across paging, you can refer the following documentation.
Persisting the selected rows client-side on sorting/paging/filtering/grouping

And in order to access all the selected item, one suggestion is invoking the ajaxRequest from client event and disable paging and Rebind the grid. After finding all the selected Items again enable paging and Rebind the grid.

 
Thanks,
Princy.
Tags
Grid
Asked by
Oren Kremer
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
Share this question
or