Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TcxGridTableCellViewInfo.GridRecord Property

Returns the record where the cell is displayed.

#Declaration

Delphi
property GridRecord: TcxCustomGridRecord read;

#Property Value

Type
TcxCustomGridRecord

#Remarks

Use the GridRecord property to obtain the object representing the record that holds the cell. The property returns the TcxCustomGridRecord object which is the base for record classes. Thus, you may need to perform typecasts to access members specific to the record type. Please refer to the TcxCustomGridRecord class description for the list of descendants available.

The GridRecord property enables you to paint cells depending on the record where they are displayed. For instance, you may identify a record, obtain its data within a particular cell and, thus, determine how the cell should be painted.

See Also