telerik mvc grid access cell data to enable columns.Command
- by AZee
Hi!
I can't seem to find a way to reference the value in a column in the grid, in my case it is the StatusId. Based on the cell value in this row, for the StatusId, I need to return a true or false to the method ".Visible(???)". It would be nice to find the answer in the documentation online but I haven't been able to. I find it hard to believe that I would be the first person who ever needed this functionality.
I would be most appreciative of any assistance since no one in the telerik forums know.
.Columns(columns => {
columns.Command(commands => {
commands.Edit().ButtonType(ButtonType);
commands.Delete().ButtonType(ButtonType);
}).Width(90).Visible(???);
Thanks!
AZee