Gets one column of cells' text.
bool GetColValues( int nCol, vector<string> & vsVals, int nRow1 = 0 )
true if nCol is a valid column index, otherwise false
Example codes can be pasted to doExample() function in GridControl's examples to run
int nCol = m_GridCtrl.GetColOffset(); vector<string> vsItems = {"Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"}; m_GridCtrl.CheckExpandRows( vsItems.GetSize() - m_GridCtrl.GetRowOffset() ); m_GridCtrl.SetCells(vsItems, nCol); vector<string> vs; m_GridCtrl.GetColValues(nCol, vs); out_str( str_combine(vs, " ") );
GridControl.h