It appears, according to your CSOM documentation, that there isn't a way to set the page size on the client side. It currently works on the server-side.
I'm trying to get a progress indicator to show when a user changes the "Results per Page" dropdown.
Any thoughts on how to accomplish this, or do I have to live without?
I'd like to see a grid.get_behaviors().get_paging().set_pageSize(10) someday.
Thanks,Kyle
Kyle,
You are correct that this is not possible currently on the client. As you said, you can perform this on the server, so perhaps put the Grid into an Update Panel to take away the look of a full page postback while this occurs?
As for requesting this, I suggest submitting a feature request. What features we add and in what order is dictated in part by what our customers want. Thanks for your feedback on this issue.
regards,
David Young
Thank you for the VERY quick response. I will definitely submit a request to have this ability.
In the mean time, I have the WebDataGrid in an UpdatePanel, along with a standard DropDownList. When the user changes the DropDownList, I want to:1. Show the Progress Indicator in the center of the grid.2. Change the grid's PageSize property.3. Hide the Progress Indicator.
How does one start by showing the progress indicator on client-side, switch to server-side to set the PageSize, then find a way to hide the progress indicator?
I used http://forums.infragistics.com/aspnet/articles/show-wait-indicator-during-webdatagrid-s-ajax-requests.aspx as my template.
Thanks in advance,Kyle