Datagrid Paging

2 posts, 0 answers
  1. Graham
    Graham avatar
    5 posts
    Member since:
    Dec 2018

    Posted 12 Feb 2019 Link to this post


    I'm just starting out with xamarin.forms datagrid and I was looking for the paging method that I use with Asp.Net MVC.

    I can only find LoadOnDemand. Is this the recommended method to retrieve more data in a grid?




  2. Yana
    Yana avatar
    5037 posts

    Posted 13 Feb 2019 Link to this post

    Hello Graham,

    Thank you for your interest in DataGrid for Xamarin.

    Indeed, currently the only built-in approach to retrieve more data in DataGrid is through the load-on-demand mechanism. Still, you could manually achieve some sort of paging by updating the ItemsSource of the DataGrid. In short, you could keep a track of the currently loaded items and on button click load the next ones from a collection containing all the items. I have attached a sample app to show you how this would work.

    Please download the attachment and give it a try.

    Let me know if you have any additional questions on this.

    Progress Telerik
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Back to Top