GridControl::SetRowPosition

 

Description

Move given row to the specified position

Syntax

BOOL SetRowPosition( int nRow, int nPos )

Parameters

nRow
[input] 0-offset row index
nPos
[input] 0-offset row position

Return

true on successful or false on failure

Examples

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

         m_GridCtrl.SetRowPosition(3,5);

Remark

See Also

GridControl::MoveItemDown
GridControl::MoveItemUp

header to Included

GridControl.h