Hi Alberto,
Thanks for contacting Syncfusion Support.
We have checked your query and it can achieved by setting the SfDataGrid.LiveDataUpdateMode property to AllowDataShaping which will update the summary instantly after the loading Loadmore items populated in the grid.
Code logics for C#
|
public partial class MainPage : ContentPage
{
public MainPage()
{
InitializeComponent();
dataGrid.LiveDataUpdateMode = LiveDataUpdateMode.AllowSummaryUpdate;
dataGrid.AllowLoadMore = true;
dataGrid.LoadMoreCommand = new Command(ExecuteLoadMoreCommand);
}
private async void ExecuteLoadMoreCommand()
{
this.dataGrid.IsBusy = true;
await Task.Delay(new TimeSpan(0, 0, 5));
viewModel.LoadMoreItems();
this.dataGrid.IsBusy = false;
}
} |
We have also prepared a sample based on your requirement and you can download the same on the below link:
Note: If you are not using the latest version of SfDataGrid then you may have to set this property as SfDataGrid.View.LiveDataUpdateMode.
Regards,
Jayaraman.