piDogDataView.DataView.ChildrenPersist

Scope: Public
ChildrenPersist As Boolean
If set to true, child rows will be hidden when a folder is collapsed and unhidden when the folder expands. You can use AddChildRow to add children to a parent or handle expandrow. Keep in mind that if you don't check if the children have already been added in expandrow, you will end up with duplicate rows.