Skip to main content

TcxCustomGridView.MasterGridRecordIndex Property

Returns the index of the master View record for which the current View is displayed as a detail View.

Declaration

property MasterGridRecordIndex: Integer read;

Property Value

Type
Integer

Remarks

The MasterGridRecordIndex property returns the index of a master View record for which the current View is displayed as a detail View. This index represents the master record position within a View, not within a data controller, i.e. this index is not necessarily equal to MasterRecordIndex property value. 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