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

TcxCustomGridView.MasterRecordIndex Property

Returns the index of the master dataset record corresponding to a master View record. The current View is displayed as a detail View.

#Declaration

Delphi
property MasterRecordIndex: Integer read;

#Property Value

Type
Integer

#Remarks

The MasterRecordIndex property returns the index of the master dataset record corresponding to a master View record. The current View is displayed as a detail View. This index is not necessarily equal to the MasterGridRecordIndex property value, which represents the master record position within a View, not within a data controller. The record’s position within a View may differ from that record’s position within a data controller after actions like sorting, grouping, expanding/collapsing of group rows, etc.

See Also