You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: aspnetcore/blazor/components/quickgrid.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -202,18 +202,18 @@ Apply a stylesheet class to a row of the grid based on the row item using the `R
202
202
In the following example:
203
203
204
204
* A row item is represented by the `Person`[record](/dotnet/csharp/language-reference/builtin-types/record). The `Person` record includes a `FirstName` property.
205
-
* The `HighlightJulie` method applies the `highlight` class styles to any row where the person's first name is "`Julie`."
205
+
* The `GetRowCssClass` method applies the `highlight-row` class styles to any row where the person's first name is "`Julie`."
206
206
207
207
```razor
208
-
<QuickGrid ... RowClass="HighlightJulie">
208
+
<QuickGrid ... RowClass="GetRowCssClass">
209
209
...
210
210
</QuickGrid>
211
211
212
212
@code {
213
213
private record Person(int PersonId, string FirstName, string LastName);
0 commit comments