load a tree : ExtJs - Jayrock
问题 im trying to build a treepanel (or just a simple tree i just need it to work) and load it with data from database here is my code to build the tree var objHandler = new Interact(); var treestore = new Ext.data.TreeStore ( { root:{ id:'root_node', nodeType:'async', text:'Root' }, proxy:{ type:'ajax', url:'myUrl' } }); function ReadTree() { try { objHandler.ReadAssets(function (serverResponse) { if (serverResponse.error == null) { var result = serverResponse.result; if (result.length > 2) {