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
1165
access EnableCrossPageSelection with javascript
posted

hi,

I am using WebDataGrid with paging and selection with the EnableCrossPageSelection set to true.

I am trying to get the selected rows on the client side. With the get_selectedRows() method i get the right number of selections, but when trying to get them with the getItem() method, i get only the selections for the current page. I know this is normal behaviour for the grid as it is bound only to the data for the current page.
Is there a way around this issue, other then having a hidden field to hold the selections? In my web page i have multiple grids and it can be too much to have a hidden field for each one of them to hold selections.
Is there any way to enable\disable paging on the client side? or any implementation in javascript  for the GetIDPair(index) method?

thanks
 

Parents
No Data
Reply Children
No Data