GridControl::ShowAlternateGroups

 

Description

Sets groups of rows with alternate colors.

Syntax

bool ShowAlternateGroups( const vector<int> & vnGroupBegins )

Parameters

vnGroupBegins
[input] begin row index of each group

Return

true on successful or false on failure

Examples

Example codes can be pasted to doExample() function in GridControl's examples to run

//add in doExample() function
vector<int> vint={0,2,3,4};
m_GridCtrl.ShowAlternateGroups(vint);//The colors are fixed(white and gray)

Remark

See Also

GridControl::SetAlternateRowColors

header to Included

GridControl.h