Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document that QuickGrid will render additional empty rows and cells to fill in the final page of data #34211

Closed
danroth27 opened this issue Nov 25, 2024 · 7 comments · Fixed by #34214

Comments

@danroth27
Copy link
Member

danroth27 commented Nov 25, 2024

Description

QuickGrid will render additional empty rows to fill in the final page of data when used with a Paginator. In .NET 9, it will also fill in empty data cells. This is intended to facilitate styling the QuickGrid so that it has a stable height and styling across all pages. Something like this:

::deep tr {
    height: 2em;
}

Note that for ::deep to work when using component specific styles for whatever component is the parent of the QuickGrid, the QuickGrid needs to have a wrapper element.

Page URL

https://learn.microsoft.com/en-us/aspnet/core/blazor/components/quickgrid?view=aspnetcore-9.0&tabs=visual-studio

Content source URL

https://github.com/dotnet/AspNetCore.Docs/blob/main/aspnetcore/blazor/components/quickgrid.md

Document ID

564e71e3-82ed-ce23-4f9f-a00a58734a62

Article author

@guardrex

Related Issues

Copy link
Contributor

🍂🎃🏮 Autumn Skies and Pumpkin Pies! 🥧☕🍂

Stand by! A green dinosaur 🦖 will arrive shortly to assist.

@guardrex
Copy link
Collaborator

guardrex commented Nov 26, 2024

@danroth27 ... [UPDATED] I just placed the PR. Let's take up further discussion there ...

#34214

@guardrex guardrex moved this from Triage to P0/P1 - High Priority in Blazor.Docs Nov 26, 2024
@guardrex guardrex moved this from P0/P1 - High Priority to In progress in Blazor.Docs Nov 26, 2024
@github-project-automation github-project-automation bot moved this from In progress to Done in Blazor.Docs Nov 26, 2024
@davem7714
Copy link

Any way to get the extra rows to not have the gridline? I'm not real happy with the solution. I'd rather the extra lines didn't show up or at least make it an option on the QuickGrid.

@guardrex
Copy link
Collaborator

guardrex commented Dec 6, 2024

@davem7714 ... See the guidance in the QuickGrid article to style the lines off of the non-data rows. You can't currently remove the extra rows using .NET alone.

@davem7714
Copy link

@guardrex can you supply me with a link?

@guardrex
Copy link
Collaborator

guardrex commented Dec 6, 2024

@davem7714
Copy link

Thanks! That did the trick.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

3 participants