GridControl::SetCellProperty

 

Contents

Description

Sets cell(s) properties.

Syntax

void SetCellProperty( int nPropertySettings, int nFormat, int nRow1 = 0, int nCol1 = 0, int * pnRow2 = NULL, int * pnCol2 = NULL )

Parameters

nPropertySettings
[input] property defined in CellPropertySettings.
nFormat
[input] property value
nRow1
[input] 0-offset row index
nCol1
[input] 0-offset column index
pnRow2
[input] if set property to a range of cells, this pointer if for the end row index, 0-offset
pnCol2
[input] if set property to a range of cells, this pointer if for the end column index, 0-offset

Return

Examples

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

 for(int ii=0;ii<m_GridCtrl.GetRows();ii++)
        m_GridCtrl.SetCellProperty(flexcpText,ii,ii,0);

Remark

See Also

GridControl::SetCell
GridControl::GetCell

header to Included

GridControl.h