How can treedatagrid can be opened expanded on initial load

How can treedatagrid can be opened expanded on initial load or by coding?

Thanks and regards

solved the issue.