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
440
How to change the pagesize of grid from dropdown
posted

In My app i have one dropdown which will have page sizes as (5,10,15,20...) like that. when user changes the page size i have to change the page size of grid.

Is it possible to rebind the data in such a way user doesn't know that page size has been changed means, i am able to rebind whole grid by refreshing the whole control. But is there any way to change the data in combobox selection change event.

And i have set the dropdown to default setting based on the user selected in previous session.

Parents
No Data
Reply
  • 138253
    Verified Answer
    Offline posted

    Hello,

     

    Thank you for your post. I have been looking into it and I created a sample project for you with the functionality you want. Basically in the SelectionChanged event  of the ComboBox with the size I set the XamGrid’s PageSize to the selected value. Please let me know if this helps you or you need further assistance on this matter.

     

    Looking forward for your reply.

    XamGridPageSizeChange.zip
Children