Javascript 请求筛选器时KendoUI网格成员类型为空
我们正在使用KendoUI网格控件。我们使用剑道数据源向Web API请求一些数据:Javascript 请求筛选器时KendoUI网格成员类型为空,javascript,c#,kendo-ui,kendo-grid,Javascript,C#,Kendo Ui,Kendo Grid,我们正在使用KendoUI网格控件。我们使用剑道数据源向Web API请求一些数据: this.gridDatasource = new kendo.data.DataSource({ transport: { read: { url: url, type: 'POST', dataType
this.gridDatasource = new kendo.data.DataSource({
transport: {
read:
{
url: url,
type: 'POST',
dataType: 'JSON'
}
},
schema: {
data: "Data", // records are returned in the "data" field of the response
total: "Total", // total number of records is in the "total" field of the response
model: {
fields: {
name : { type: "string" }
},
}
},
如您所见,我的字段“name”的类型定义正确。当我们的网格向我的API发送Ajax请求时,Kendo发送的FilterDescriptor对象的MemberType为空。有什么想法吗
我也有同样的问题。你知道如何填充该属性吗?我们不再使用剑道MVC服务器端,我们使用剑道Angular component的pur REST API,对不起。。。