Skip to content

Commit 7668eae

Browse files
Copilotdanroth27
andcommitted
Update QuickGrid example to call AsQueryable() on the list
Co-authored-by: danroth27 <1874516+danroth27@users.noreply.github.com>
1 parent 821fdc5 commit 7668eae

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

release-notes/11.0/preview/preview1/aspnetcore.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ The `DisplayName` component checks for `DisplayAttribute.Name` first, then falls
139139
The `QuickGrid` component now supports row click events through the new `OnRowClick` parameter. When set, the grid automatically applies appropriate styling (cursor pointer) and invokes the callback with the clicked item.
140140

141141
```razor
142-
<QuickGrid Items="@people" OnRowClick="@HandleRowClick">
142+
<QuickGrid Items="@people.AsQueryable()" OnRowClick="@HandleRowClick">
143143
<PropertyColumn Property="@(p => p.Name)" />
144144
<PropertyColumn Property="@(p => p.Email)" />
145145
</QuickGrid>

0 commit comments

Comments
 (0)