分组不适用于我的kendo listview [英] Grouping is not working for my kendo listview
问题描述
Hi, 这篇关于分组不适用于我的kendo listview的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
分组不适用于我的剑道列表视图。这是我的代码,我错过了什么请帮帮我!!
<前lang =cs> $(文件).ready(function(){
dataSource = new kendo.data.DataSource({
transport:{
read:{
url: / api / Item_container_masters,
dataType: json
},
group :{field: 输入}
},
批次: true ,
pageSize: 6 ,
架构:{
型号:{
id: Id,
字段:{
Id:{editable: false ,nullable: true },
描述: 描述,
类型: 输入,
}
}
}
}); (document).ready(function(){
dataSource = new kendo.data.DataSource({
运输:{
读取:{
url: / api / Item_container_masters,
dataT ype: json
},
group :{field: 输入}
},
批次: true ,
pageSize: 6 ,
架构:{
型号:{
id: Id,
字段:{
Id:{editable: false ,可以为空: true } ,
描述: 描述,
类型: 输入,
}
}
}
});
Grouping is not working for my kendo listview. here is my code, Am i missing anything please help me!!
$(document).ready(function () {
dataSource = new kendo.data.DataSource({
transport: {
read: {
url: "/api/Item_container_masters",
dataType: "json"
},
group: { field: "Type" }
},
batch: true,
pageSize: 6,
schema: {
model: {
id: "Id",
fields: {
Id: { editable: false, nullable: true },
Description: "Description",
Type:"Type",
}
}
}
});
(document).ready(function () {
dataSource = new kendo.data.DataSource({
transport: {
read: {
url: "/api/Item_container_masters",
dataType: "json"
},
group: { field: "Type" }
},
batch: true,
pageSize: 6,
schema: {
model: {
id: "Id",
fields: {
Id: { editable: false, nullable: true },
Description: "Description",
Type:"Type",
}
}
}
});