telerik mvc grid access cell data to enable columns.Command
Posted
by
AZee
on Stack Overflow
See other posts from Stack Overflow
or by AZee
Published on 2010-12-21T21:10:07Z
Indexed on
2010/12/21
21:54 UTC
Read the original article
Hit count: 473
telerik-grid
|telerik-mvc
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
© Stack Overflow or respective owner