Grid Group by Mode with initial collapsed fields

Hi,

I am trying to group by a grid on a specific field. The group by has let’s say 10 categories. Tree View is enabled. I am wondering how can I initialize the grid with the leafs collapsed

Many thanks in advance.