expanding entire treeGrid with dynamic loading?

Hello,

It seems that the treeGrid doesn’t have a expandAll with dynamic loading like the tree, so I tried to use this instead:

gridComps.forEachRow(function(id){ gridComps.openItem(id); })

Problem is, it sends all the requests to the server according to the XMLs it needs, but it only adds the last one. Is there any way to avoid this issue and have a “expandAll” working with a treeGrid feat. dynamic loading?

Unfortunatelly treeGrid doesn’t have a expandAll with dynamic loading.

And is there no way to implement one ourselves? Why do multiple openItem with dynamic loading just handle the last XML?