<< Return to Main Index

< Return to Class Index

class CGXWrappedGrid : public CGXWrappedGridCore<T> template <class T>

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

The CGXWrappedGrid template class implements the functionality and exposes the API necessary for a wrapped grid.

A wrapped grid wraps a logical row between multiple absolute rows. Each logical column can have a unique width and the row-breaks can be set after any logical column.

This is especially useful when you want to restrict the horizontal width of the grid to avoid frequent horizontal scrolling. The wrapped logical row binds the logical columns with better affinity and hence better readability than if it were a single long row.

As mentioned earlier, though not functionally related, the wrapped grid is also a hierarchical grid and you can turn off the hierarchical functionality by appropriately configuring it.

Here is an example grid view class that derives from this template:

class CWrappedGridView : public CGXWrappedGrid<CGXGridView>

See Also

CGXHierarchyGrid CGXWrappedGridCore IGXHierarchyGrid

CGXWrappedGrid

Class Members