virtual IGXHierarchyGrid* GetChildAt(ROWCOL nLogRow,BOOL bForceCreation = FALSE);
nLogRow
Specifies the logical row id.
bForceCreation
Specifies whether the child should be created if not already available.
A reference to the child corresponding to the specified logical parent row. If no child exists at the specified row, then NULL will be returned.
Call GetChildAt with bForceCreation set to TRUE from your samples to get a reference to the child. But, note that a child can be automatically created only if the parent has common child grid type set (via SetCommonChildGridType). Hence GetChildAt will return NULL if the child has not been created yet and if the child grid types are not common.
IGXHierarchyGrid::GetParent IGXHierarchyGrid::GetParentGrid IGXHierarchyGrid::GetChildControlAt IGXHierarchyGrid::GetGridFromControlId IGXHierarchyGrid::SetCommonChildGridType
Class Overview | Class Members