CGXData::GetValueRowCol
LPCTSTR GetValueRowCol(ROWCOL nRow, ROWCOL nCol, int nType = 0, CGXStyle* pValueStyle = NULL);
nRow
Specifies the row id.
nCol
Specifies the column id.
nType
-
Specifies the type of information to be retrieved:
-
0 specifies to read the style from the cells-array with cell contents.
- -1 specifies to read the style from the cells-array with the base styles for rows, columns or the table.
A value greater than 0 is not supported.
pValueStyle
Lets you pass a pointer to a style object which can be used for calling GetStyleRowCol. Passing pValueStyle is useful when you are using a derived CGXStyle class in the grid. You should allocate this object once at initialization time of your grid and free it when the grid is closed. If pValueStyle is NULL, a CGXStyle object will be used.
Return Value
Returns the value from the specified cell. If the cell is empty, the pointer will point to an empty string.
Remarks
Looks up a value in the cells-array.
See Also
CGXData::GetStyleRowCol CGXGridCore::GetStyleRowCol