<< Return to Main Index

< Return to Class Index

class CGXHierarchyGrid : public T, public IGXHierarchyGrid  template <class T>

Template T specifies the base grid class this class should derive from. It could be either a CGXGridWnd or CGXGridView derivative.

This class implements certain core functionality and logic that binds the CGXGridCore and IGXHierarchyGrid classes.

It provides some hierarchical grid specific initialization in OnGridInitialUpdate, Redraws when a child’s dimension changes, implements the seamless scrolling functionality between the parent and the child, implements the logic to set the focus to the right grid as the current cell moves between grids, and takes care of some drawing and scrolling issues.

The template classes CGXRegularGrid, CGXWrappedGrid and CGXMRTGrid derive from this template. Users should normally derive their custom classes from one of the above 3 derived classes based on their requirements rather than deriving from CGXHierarchyGrid directly.

#include <grid\hiergrid\gxhiergrid.h>

See Also

CGXRegularGrid CGXWrappedGrid CGXMRTGrid IGXHierarchyGrid

CGXHierarchyGrid

Class Members