16 references to Pagination
Microsoft.AspNetCore.Components.QuickGrid (16)
QuickGrid.razor.cs (16)
178
_currentPageItemsChanged.SubscribeOrMove(
Pagination
?.CurrentPageItemsChanged);
195
|| (
Pagination
?.GetHashCode() != _lastRefreshedPaginationStateHash);
320
_lastRefreshedPaginationStateHash =
Pagination
?.GetHashCode();
321
var startIndex =
Pagination
is null ? 0 : (
Pagination
.CurrentPageIndex *
Pagination
.ItemsPerPage);
323
startIndex,
Pagination
?.ItemsPerPage, _sortByColumn, _sortByAscending, thisLoadCts.Token);
329
Pagination
?.SetTotalItemCountAsync(result.TotalItemCount);
338
_lastRefreshedPaginationStateHash =
Pagination
?.GetHashCode();
352
if (
Pagination
is not null)
354
startIndex +=
Pagination
.CurrentPageIndex *
Pagination
.ItemsPerPage;
355
count = Math.Min(request.Count,
Pagination
.ItemsPerPage - request.StartIndex);
369
_ariaBodyRowCount =
Pagination
is null ? providerResult.TotalItemCount :
Pagination
.ItemsPerPage;
371
Pagination
?.SetTotalItemCountAsync(providerResult.TotalItemCount);