Objective Grid : PART II Programmer’s Guide : Chapter 24 Hierarchical Grid Architecture : Regular Grid
Regular Grid
A Regular Grid is a hierarchical grid with a look-and-feel similar to that of any other grid derived from CGXGridCore.
Figure 136 – Regular Hierarchical Grid
To enable this functionality, you need to derive your window/view class from the CGXRegularGrid template. See Figure 135 for more information.
For example:
 
class CRegularGridView : public CGXRegularGrid<CGXGridView>
Besides providing all the hierarchical grid interfaces, the regular grid also provides the following interfaces:
Row/Column Count
SetLogRowCount()/GetLogRowCount()
SetLogColCount()/GetLogColCount()
Set and get the logical row/column count
In all functions defined in CGXGridCore, the row/column parameters denote the absolute coordinates. You need to use the transformation APIs in Hierarchy Grid to convert them to logical coordinates and vice-versa.