I\'m trying to setup a TreeGrid, my data object looks like this:
{ \"code\": \"success\", \"data\": { \"text\": \".\", \"children\":
Since you have setup your reader with root: 'data' you have to replace 'children' with 'data' in your json:
root: 'data'
{ "code": "success", "data": { "text": ".", "data": [ // << not "children" {