Tree Grid expansion

Hi,
I have a requirement where on a particular event all the nodes need to be expanded in a tree grid. Is that possible, or we need to work around the get
that functionality.

Thanks in advance.

Call treeGrid.data.openAll()