Posted on Jul 1, 2012 (permalink)
if
(item.Prop!= DateTime.MinValue){ Html.DisplayFor(modelItem => item.Prop); }
columns.Bound(
(item.prop = DateTime.MinValue) o=>o.prop)
Reply
Posted on Jul 10, 2012 (permalink)
@( Html.Telerik().Grid(Model)
.Name("Grid")
.ToolBar(commands => commands.Insert())
.Columns(columns =>
{
if (item.Prop == DateTime.MinValue)
columns.Bound(o => o.prop);
}
...
)
Posted on Jul 11, 2012 (permalink)
Posted on Jul 12, 2012 (permalink)
.Columns(columns => { columns.Bound(pp => pp.State); }) .CellAction(cell =>
if (cell.Column.Title == "State")
if (cell.DataItem.State != null)
if (cell.DataItem.State != "x")
cell.HtmlAttributes["style"] = "display:none";
})
Back to Top
UI controls for ASP.NET AJAX, MVC, WPF,Silverlight, Windows 8 and Windows Phone
Cross-platform Mobile Development Toolwith cloud-based architecture
Everything you need to build sites andmobile apps with JavaScript and HTML5
One easy tool for Functional, Performance,Load and Mobile software testing
Everything for your online business - contentmanagement, ecommerce, emarketing
Simple and intuitive project managementand collaboration software