1
我想要獲得Kendo Grid以顯示每頁的產品數量,並且使用以下代碼,它會渲染下拉菜單以選擇每頁的多個項目網格。Kendo UI Grid的頁眉中的每頁項目
是否有可能在網格本身以外的頭部或其他html元素中渲染下拉菜單?
@(Html.Kendo().Grid(Model.Products)
.Name("Grid")
.Columns(columns =>
{
columns.Bound(p => p.Id).Groupable(false).Visible(false);
columns.Bound(p => p.Name);
columns.Bound(p => p.UnitPrice);
})
.Pageable(pager => { pager.PageSizes(true); })
.Sortable()
.DataSource(dataSource => dataSource
.Ajax()
.Read(read => read.Action("Products_Read")
)
)
演示缺少這樣的下拉有沒有價值。 – Dror 2013-11-26 01:00:01