问题描述
未捕获的TypeError:无法读取null的属性'metaData'
Uncaught TypeError: Cannot read property 'metaData' of null
我从Ext4转到5,尝试从树存储加载数据时出现此错误.有什么想法吗?
I moved from Ext4 to 5 and this error came while trying to load data ftom a treestore.Any Ideas?
推荐答案
Ext.define(TreeSearchProxy, { extend: 'Ext.data.proxy.Ajax', alias: 'proxy.treesearchproxy', requires: [ TreeSearchResultsReader ], reader: 'treesearchreader', url : eaxies.util.Globals.ServletName, simpleSortMode : true, extraParams :{ ActionID: eaxies.util.Globals.ServletActions.RetrieveTreeSearchResults, query: null, dioikitikidiairesi: null, elementId: null, originalElementId: null, expandedNodeIds: null }});enter code here
Ext.define(TreeSearchProxy, { extend: 'Ext.data.proxy.Ajax', alias: 'proxy.treesearchproxy', requires: [ TreeSearchResultsReader ], reader: 'treesearchreader', url : eaxies.util.Globals.ServletName, simpleSortMode : true, extraParams :{ ActionID: eaxies.util.Globals.ServletActions.RetrieveTreeSearchResults, query: null, dioikitikidiairesi: null, elementId: null, originalElementId: null, expandedNodeIds: null }});enter code here
这篇关于Extjs5未捕获的TypeError:无法读取null的属性'metaData'的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!