Hi, I am trying to use a row template as show below.
However, the command buttons never show.
What am I missing?
Thanks … Ed
@for (int i = 0; i <
@* this is where the grid command buttons are supposed to show *@
@foreach (var item in Data)
> Update </
OnClick="@((args)=> SelectDashboardModel(args.Item as DataModel))"
> Cancel </
Sorry, this was asked and answered before.
To provide some information for someone else finding this thread - the row template takes the row rendering entirely away from the grid, so it removes a lot of built-in functionality, editing being part of that: https://docs.telerik.com/blazor-ui/components/grid/templates#row-template
Perhaps the following feature will allow you to add buttons that will do something out of the box, but that is subject to research and implementation first: https://feedback.telerik.com/blazor/1422740-conditional-command-buttons-shown-on-condition-based-on-model-values-and-or-invoking-cud-operations-programmatically.
In the meantime, you should implement editing on your own inside templates, and there are two main approaches you can take: