Url 将数据从服务器响应插入网格
你好,我有Url 将数据从服务器响应插入网格,url,extjs,response,Url,Extjs,Response,你好,我有 proxy: { type: 'ajax', url: '/book/list?filter=', reader: { type: 'json', root: 'data',
proxy: {
type: 'ajax',
url: '/book/list?filter=',
reader: {
type: 'json',
root: 'data',
successProperty: 'success'
}
然后我得到了服务器的响应
proxy: {
type: 'ajax',
url: '/book/list?filter=',
reader: {
type: 'json',
root: 'data',
successProperty: 'success'
}
data":[{"id":1,"book":"Now","author":"q"}]}
我想把这个日期和下一栏一起插入网格:Id、Book、Author
proxy: {
type: 'ajax',
url: '/book/list?filter=',
reader: {
type: 'json',
root: 'data',
successProperty: 'success'
}
这很简单。有关更多详细信息,请查看
proxy: {
type: 'ajax',
url: '/book/list?filter=',
reader: {
type: 'json',
root: 'data',
successProperty: 'success'
}