Radzen Grid Command Column

Continuing the discussion from How to create a Datagrid Button column:

Please kindly assist me with how you solved this? I want to do the same thing. I have found a way of doing it using SyncFusion but I don't know how to do it with Radzen. Is there a Radzen equivalent of GridCommandColumn?

Hi @The_Bright_Star,

You can use the Template of RadzenDataGrid column to add any content. Check this demo: Free Blazor Components | 60+ controls by Radzen

I have been able to use the RadzenDataGrid column but I am struggling to add a column that contains buttons. In other words, I want every row in my table to contain an "edit" and "delete" button. SyncFusion has something called GridCommandColumn..I am looking for the equivalent of that but for Radzen. I am very new to Blazor and Radzen so bear with me if my question sounds confused

The example which I have linked shows how to add a button:

        <RadzenDataGridColumn Width="160px" TItem="Order" Property="OrderID" Title="Order Details">
            <Template Context="data">
                <RadzenButton ButtonStyle="ButtonStyle.Info" Icon="info" Class="m-1" Click=@(() => OpenOrder(data.OrderID)) Text="@data.OrderID.ToString()" />
1 Like

Thanks a lot for your very quick responses. Amazing!