` element, which permits you to apply `::deep` [pseudo-elements](https://developer.mozilla.org/docs/Web/CSS/Pseudo-elements) to the QuickGrid.
-
-`Index.razor`:
-
-```razor
-
-
- ...
-
-
-
-
-
-@code {
- private PaginationState pagination = new PaginationState { ItemsPerPage = 10 };
-
- ...
-}
-```
+If you prefer to hide the empty rows rendered by the `QuickGrid`, you may do so using CSS styling to hide the empty data cell in rows that that don't contain any data.
In the following isolated CSS styles:
From 7232da59853a689f3bdecceb621e8a6f7b2821bc Mon Sep 17 00:00:00 2001
From: Luke Latham <1622880+guardrex@users.noreply.github.com>
Date: Tue, 26 Nov 2024 11:28:25 -0500
Subject: [PATCH 3/3] Updates
---
aspnetcore/blazor/components/quickgrid.md | 16 +++-------------
1 file changed, 3 insertions(+), 13 deletions(-)
diff --git a/aspnetcore/blazor/components/quickgrid.md b/aspnetcore/blazor/components/quickgrid.md
index 1567548cf833..bdf0348b5707 100644
--- a/aspnetcore/blazor/components/quickgrid.md
+++ b/aspnetcore/blazor/components/quickgrid.md
@@ -146,20 +146,12 @@ QuickGrid renders additional empty rows to fill in the final page of data when u
}
```
-:::moniker range=">= aspnetcore-9.0"
-
-
-
-If you prefer to hide the empty rows rendered by the `QuickGrid`, you may do so using CSS styling to hide the empty data cell in rows that that don't contain any data.
-
-In the following isolated CSS styles:
+To hide the empty row data cells rendered by the QuickGrid, use CSS styling. In the following isolated CSS styles:
* Row cells populated with data are displayed.
-* Empty row data cells aren't displayed, which avoids empty row cell borders rendering per the Bootstrap style.
+* Empty row data cells aren't displayed, which avoids empty row cell borders from rendering per Bootstrap styling.
-`Index.razor.css`:
+`{COMPONENT}.razor.css`:
```css
::deep tr:has(> td:not(:empty)) > td {
@@ -171,8 +163,6 @@ In the following isolated CSS styles:
}
```
-:::moniker-end
-
For more information on using `::deep` [pseudo-elements](https://developer.mozilla.org/docs/Web/CSS/Pseudo-elements) with CSS isolation, see
.
## Custom attributes and styles