I am trying to customize the link of a MudLink in a MudTable.
This works:
<MudTable Items="@TicketList" >
<RowTemplate>
<MudTd DataLabel="Subject">@context.Subject</MudTd>
</RowTemplate>
</MudTable>
But this does not: (Compiler error: The name 'context' does not exist in the current context.)
<MudTable Items="@TicketList" >
<RowTemplate>
<MudTd DataLabel="Subject"><MudLink Href="/ticket/Edit/@context.Id">@context.Subject</MudLink></MudTd>
</RowTemplate>
</MudTable>
How do I generate the Href in the MudLink based on the row's bound data?