I want to make a Custom GridCommandbutton Visible based on a value in the row.
For example, if the Status column of a row is 2, I want the command button to be visible, otherwise I want it hidde.
Is this possible?
2 Answers, 1 is accepted
0
Svetoslav Dimitrov
Telerik team
answered on 09 Mar 2021, 02:34 PM
Hello Bob,
We have an open feature request for providing context to the Grid command column (similar to the context for the standard column). Once this feature is available you would be able to easily hide or show buttons based on certain conditions. I have given your Vote for it and you can Follow the thread for email notifications on status updates. For the time being, in the public thread, we have made several examples and information on how to make a custom command column where you can access the context.
Let me know if you need any further assistance!
Regards,
Svetoslav Dimitrov
Progress Telerik
Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.