dotnet / dotnet/aspnetcore

QuickGrid: Add option to disable rendering of filler rows

Open
#62,678 0 comments 0 reactions 0 assignees View on GitHub
area-blazor enhancement
Dominant language
C#
Stars
38.4k
Forks
10.9k
Avg merge
2d 6h
Merged PRs (30d)
290

Description

### Is there an existing issue for this?

- [x] I have searched the existing issues

### Is your feature request related to a problem? Please describe the problem.

Adds option to disable rendering of filler rows. I understand the guidance is to style the empty rows with CSS, but doing so makes it difficult for users to change the behavior on a per instance basis, and is not always what the user wants. Sometimes they may want the table filled out to equal height, other times they may not. Imagine you have a per page option with a high value like 50 or 100. That can end up working really well until the user reaches the last page, then all of the sudden their dom is flooded with wasted space and may even make the view appear to be missing information.

This maintains the default functionality of rendering the filler rows, but gives the user a quick option to opt out of that when they want to.

### Describe the solution you'd like

See PR #62607 for implementation details.

### Additional context

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.