Skip to content

Latest commit

 

History

History

LoadMore

DevExpress .NET MAUI Data Grid - Implement Load-More Functionality

This example shows how to implement the grid's load-more functionality - when a user scrolls to the bottom of the grid, a set of new data items is added to the end of the grid. Data items for each subsequent load (10 new orders) are generated randomly in code. The maximum number of loads a user is allowed to perform is 3. The total summary displays the count of data items currently loaded to the grid (which is automatically updated after each load).

  1. Set the DataGridView.IsLoadMoreEnabled property to true to enable the grid's load-more functionality.
  2. Create a command to be executed when a user scrolls to the bottom of the grid. Set the DataGridView.IsRefreshing property to false after data is loaded to hide the loading indicator in the grid.
  3. Bind the DataGridView.LoadMoreCommand property to the created command.

Files to Review