1
这是我的剑道电网代码。我看到列中的数据,但只有这一点。我无法对数据或过滤器进行排序。 “创建”是我的行为,利润是控制器。我缺少什么kendogrid不工作
@(Html.Kendo().Grid(Model)
.Name("Grid")
.Columns(columns =>
{
columns.Bound(model=> model.IdCategory.Name).Groupable(false);
columns.Bound(model=> model.Value);
columns.Bound(model => model.Description);
columns.Bound(model => model.DateInput);
})
.Groupable()
.Pageable()
.Sortable()
.Scrollable()
.Filterable()
.DataSource(dataSource => dataSource
.Ajax()
.Read(read => read.Action("Create", "Profit"))
)
)
分享控制器,共享布局页面 – 2013-03-12 19:31:22