CGXGridParam::SetData
void SetData(CGXData* pData, BOOL bMustDelete = TRUE);
pData
A pointer to the data object.
bMustDelete
Specifies if the object should be destroyed when the parameter object is destroyed.
Remarks
Attaches a data object to the parameter object.
If the parameter object already owns a pointer to a data object, the old one is replaced and if necessary deleted.
The data object maintains all cell contents of the grid. It is an array with pointers to an array of pointers to style objects. Empty cells don’t need any memory.