<< Return to Main Index

< Return to Class Index

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

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

CGXData

Class Overview | Class Members