Replies: 2 comments 1 reply
-
Try adding the TGridItem parameter with the CustomerViewModel type to the grid declaration |
Beta Was this translation helpful? Give feedback.
0 replies
-
Thanks @vnbaaij , Indeed, that works as you suggest. <FluentDataGrid TGridItem="CustomerViewModel" Items="@customers" ShowHover="true" OnRowClick="TestClick"> |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm trying to use the
OnRowClick
event ofFluentDataGrid
to show a dialog.This is what I currently have:
I get a compilation error in Visual Studio about the OnRowClick event which I can't seem to get rid of.
Argument 2: cannot convert from 'method group' to 'Microsoft.AspNetCore.Components.EventCallback'
I'm on Microsoft.FluentUI.AspNetCore.Components 4.10.0.
Any advice on how to fix this?
Beta Was this translation helpful? Give feedback.
All reactions