This question is locked. New answers and comments are not allowed.
Hi,
I have a column that shows if an object is visible or not.
I want to show "Yes" or "No" in that column, but with the code below it only shows checkboxes.
It seems that cell.text is ignored.
Is there another way to do this?
- Chris
I have a column that shows if an object is visible or not.
I want to show "Yes" or "No" in that column, but with the code below it only shows checkboxes.
It seems that cell.text is ignored.
Html.Telerik() .Grid(Model) .Name("MyGrid") .Columns(columns => { columns.Bound(o => o.IsVisible).Title("Visible?"); }) .CellAction(cell=> { if (cell.Column.Member == "IsVisible") { cell.Text = cell.DataItem.IsVisible ? "Yes" : "No"; } }) .Render();Is there another way to do this?
- Chris