Initializing treegrid in collapsed state

How can i initialize the treegrid in collapsed state?

collapseAll() method takes too long time to perform.

Hello Nikolai.

Currently the collapseAll() method is the only solution, but we’re planning to extend the collapsed mode for the TreeGrid in the next update.
I’ll inform you here as soon as this functionality becomes available.
Thank you for your request.

Hello Nikolai

We have extended your requested feature about the collapsed mode for the dhx.TreeGrid in our latest update (v8.1.0).

Now you are able to initialize your treegrid in the collapsed state:

Pleqase, download the latest available dhx.Suite build from your client’s area to get this functionality.

Check the following log for more details about this update: