I did not find any methods to expand all nodes or a subset of nodes for the TreeDataGrid:
https://demo.jmix.io/ui-samples/sample/data-grid-tree
It would be great to provide additional handlers or methods to expand all nodes or a subset of nodes.
With complex trees is might be good to pre-expand the interesting parts when the website was opened.