2.2.6.17.127 GridControl::SetRowValues


Description

Sets one row text.

Syntax

bool SetRowValues( int nRow, const vector<string> & vsVals, int nCol1 = 0, bool bExpand = false )

Parameters

nRow
[input] row index. If less than 0 it will set the first fixed row's text; otherwise first scrollable row's index is 0
vsVals
[input] the row text
nCol1
[input] begin column index( first scrollable column's index is 0 )
bExpand
[input] if true it will add rows/columns when there's not enough row/column

Return

false if nRow/nCol1 is invalid or there's not enough row/column, otherwise true

Examples

See examples of GetRowData

Remark

See Also

Header to Included

GridControl.h