Gets a variant attached to the cell.
DWORD GetCellData( int nRow, int nCol )
0 if row/column index is invalid, or the variant attached to the cell
Example codes can be pasted to doExample() function in GridControl's examples to run
int nRow = m_GridCtrl.GetRowOffset(); int nCol = m_GridCtrl.GetColOffset(); for(int ii = 0; nRow <= m_GridCtrl.GetNumRows(); nRow++) { m_GridCtrl.SetCell(nRow, nCol, ii*10); m_GridCtrl.SetCellData(nRow, nCol, ii++); out_int( "", m_GridCtrl.GetCellData(nRow, nCol) ); }
GridControl.h