16 references to Pagination
Microsoft.AspNetCore.Components.QuickGrid (16)
QuickGrid.razor.cs (16)
173
_currentPageItemsChanged.SubscribeOrMove(
Pagination
?.CurrentPageItemsChanged);
190
|| (
Pagination
?.GetHashCode() != _lastRefreshedPaginationStateHash);
305
_lastRefreshedPaginationStateHash =
Pagination
?.GetHashCode();
306
var startIndex =
Pagination
is null ? 0 : (
Pagination
.CurrentPageIndex *
Pagination
.ItemsPerPage);
308
startIndex,
Pagination
?.ItemsPerPage, _sortByColumn, _sortByAscending, thisLoadCts.Token);
314
Pagination
?.SetTotalItemCountAsync(result.TotalItemCount);
323
_lastRefreshedPaginationStateHash =
Pagination
?.GetHashCode();
337
if (
Pagination
is not null)
339
startIndex +=
Pagination
.CurrentPageIndex *
Pagination
.ItemsPerPage;
340
count = Math.Min(request.Count,
Pagination
.ItemsPerPage - request.StartIndex);
354
_ariaBodyRowCount =
Pagination
is null ? providerResult.TotalItemCount :
Pagination
.ItemsPerPage;
356
Pagination
?.SetTotalItemCountAsync(providerResult.TotalItemCount);