Grid Grouping Support

Fully implemented BCGControlBar Pro (MFC)

Fully implemented BCGSuite (MFC)

Fully implemented BCGControlBar for .NET

The Grid control allows grouping data by single or multiple columns. User can either set grid column(s) that will be used for grouping or enable "Group By" box where grouped columns may be dropped at runtime.

Support for custom grouping rules and groups text.

Groups by range:

Groups by range:

Adding a column to "Group By" box:

Adding a column to "Group By" box:

Sample code:

CBCGPGridCtrl m_wndGrid;

// Create grid control:
m_wndGrid.Create (WS_CHILD | WS_VISIBLE, rect, this, ID_GRID);

// Group by first column:
m_wndGrid.InsertGroupColumn (0, 0);

// Enable "Group By" box and column chooser:
m_wndGrid.EnableGroupByBox ();
m_wndGrid.ShowColumnsChooser ();