I would like to enter "All" as an <option>
that gets bound to @pagination.ItemsPerPage" in the MS QuickGrid.
The setting when selected is ignore.
I would like to enter "All" as an <option>
that gets bound to @pagination.ItemsPerPage" in the MS QuickGrid.
The setting when selected is ignore.
Had then an issue where QuickGrid generated a number of blank lines when the data source was filtered. Had to comment out some lines in the QuickGrid code...
private void RenderNonVirtualizedRows(RenderTreeBuilder __builder)
{
var initialRowIndex = 2; // aria-rowindex is 1-based, plus the first row is the header
var rowIndex = initialRowIndex;
foreach (var item in _currentNonVirtualizedViewItems)
{
RenderRow(__builder, rowIndex++, item);
}
// When pagination is enabled, by default ensure we render the exact number of expected rows per page,
// even if there aren't enough data items. This avoids the layout jumping on the last page.
// Consider making this optional.
//if (Pagination is not null)
//{
// while (rowIndex++ < initialRowIndex + Pagination.ItemsPerPage)
// {
// <tr></tr>
// }
//}
}
Works now! :-)
It seems the Pagination type has been replaced with PaginationState. I found a solution...