Skip to main content

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

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