Hyperlink in datagrid

Hello all,

Is it possible to add a hyperlink inside a datagrid column element, and associate it with a function call, similar functionality to @onclick... . ?
If possible to add a hyperlink, how to accomplish it?

Thanks in advance!

Yes, it is possible - just add the hyperlink and assign its @onclick attribute. You can pass the Template context as an argument:

<RadzenDataGrid TItem="Order" Data=@orders>
<Columns>
<RadzenDataGridColumn TItem="Order">
   <Template Context="order">
       <a @onclick="@(() => OnLinkClick(order))">Click</a>
   </Template>
</RadzenDataGridColumn>]
</Columns>
</RadzenDataGrid>
@code {
   void OnLinkClick(Order order)
   {
   }
}

Great.
Thanks a lot for your reply!