BCGSuite for MFC
BOOL CBCGPGridCtrl::IsGrouping ( ) const

Tells whether the auto-grouping is enabled, or not.

Returns
Nonzero if the auto-grouping is enabled; otherwise 0.

Determines whether the auto-grouping is enabled, or not. The grid control automatically enables auto-grouping if it has at least one grouping column. Call the InsertGroupColumn() member function to enable auto-grouping.