Treetable parse method does not work

I need to implement child rows expanding through manual data requests.
So I catch ‘onDataRequest’ and return false.
Inside handler I execute data receiver and when done execute table.parse([array of objects]).
But it just recursive call ‘onDataRequest’ and do not add child rows to tree table.
When I am doing wrong?

Hello, @sergeyplishka

When using onDataRequest it’s very important to be sure the branch data you get is returned with parent and data properties. For JSON the returned data looks like this:

{ parent:1, data:[ ..array of child items..]}

Please, check the snippet here: Code Snippet

Thanks! Have a good day!