GridControl::GetRowData

 

Description

Gets a user-defined variant associated with the given row.

Syntax

_VARIANT GetRowData( int nRow )

Parameters

nRow
[input] 0-offset row index

Return

user-defined variant associated with the given row

Examples

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

 int ins=100;
        vector<string> vstr={"data here is 100"};
        m_GridCtrl.SetRowData(2,ins);
        m_GridCtrl.SetRowValues(2-m_GridCtrl.GetRowOffset(),vstr,0,false);
        out_int("Data is ",m_GridCtrl.GetRowData(2));

Remark

See Also

GridControl::GetCellData
GridControl::SetRowData

header to Included

GridControl.h