16 references to Pagination
Microsoft.AspNetCore.Components.QuickGrid (16)
QuickGrid.razor.cs (16)
181
_currentPageItemsChanged.SubscribeOrMove(
Pagination
?.CurrentPageItemsChanged);
198
|| (
Pagination
?.GetHashCode() != _lastRefreshedPaginationStateHash);
329
_lastRefreshedPaginationStateHash =
Pagination
?.GetHashCode();
330
var startIndex =
Pagination
is null ? 0 : (
Pagination
.CurrentPageIndex *
Pagination
.ItemsPerPage);
332
startIndex,
Pagination
?.ItemsPerPage, _sortByColumn, _sortByAscending, thisLoadCts.Token);
338
Pagination
?.SetTotalItemCountAsync(result.TotalItemCount);
347
_lastRefreshedPaginationStateHash =
Pagination
?.GetHashCode();
361
if (
Pagination
is not null)
363
startIndex +=
Pagination
.CurrentPageIndex *
Pagination
.ItemsPerPage;
364
count = Math.Min(request.Count,
Pagination
.ItemsPerPage - request.StartIndex);
378
_ariaBodyRowCount =
Pagination
is null ? providerResult.TotalItemCount :
Pagination
.ItemsPerPage;
380
Pagination
?.SetTotalItemCountAsync(providerResult.TotalItemCount);