I\'m trying to setup a TreeGrid, my data object looks like this:
{ \"code\": \"success\", \"data\": { \"text\": \".\", \"children\":
You can also use this:
reader: { type: 'json', // See http://stackoverflow.com/questions/9159627/extjs-loading-tree-from-json-file-using-mvc // http://stackoverflow.com/questions/6263380/extjs4-json-treestore root: function(o) { if (o.data) { return o.data; } else { return o.children; } } },