Duplicated
Last Updated: 02 Mar 2020 13:19 by ADMIN
Amanatios Amanatidis
Created on: 22 Oct 2019 10:31
Category: UI for Blazor
Type: Feature Request
2
No @context inside GridCommandColumn

How can I show/hide or enable/disable a GridCommandColumn (e.g. Edit) per row.
For example, if a row is readonly, I don't want users to be able to click the edit button. There is no @context inside <GridCommandColumn>

 

Sample usage

<GridCommandColumn> @{ var item = context as TheItem;

         <GridCommandButton Command="Edit" Icon="edit" Enabled="@!item.ReadOnly">Edit</GridCommandButton>
     }

</GridCommandColumn>

 

Duplicated
This item is a duplicate of an already existing item. You can find the original item here:
1 comment
ADMIN
Marin Bratanov
Posted on: 22 Oct 2019 10:44

Hello,

This is a duplicate of this feature request that I suggest you Follow instead: https://feedback.telerik.com/blazor/1422740-conditional-command-buttons-shown-on-condition-based-on-model-values-and-or-invoking-cud-operations-programmatically. I have added your Vote to it and I am now closing this one to avoid clutter.

 

Regards,
Marin Bratanov
Progress Telerik

 UI for Blazor