<< Return to Main Index

< Return to Class Index

class CGXData: public CObject

The CGXData class maintains the cell contents of the grid and the row and column base styles. The grid component creates an instance of this class – the data-object – in CGXGridCore::OnGridInitialUpdate and attaches it to the parameter-object.

CGXData provides a public interface for setting the number of rows and columns, storing and reading cells, and removing, inserting and moving rows and columns. The names for these methods are the same as in CGXGridCore.

CGXData supports serialization.

All of the following methods are called from CGXGridCore when you change the grid by calling MoveRows, InsertRows, ...

If you want to initialize data outside the grid, for example if you want to initialize data directly in your document, you should call the CGXData methods directly.

#include <gxall.h>

See Also

CGXStyle CGXGridParam::SetData CGXGridCore

CGXData

Class Members