Developer

LastAddedRow

Indicate index of last added row.

property LastAddedRow: Integer read FLastAddedRow;

Remarks


If AddRow method is used, and grid is not auto-sorted value of this property is always RowCount - 1. Value may differ from RowCount - 1 if InsertRow method is used, or grid is sorted.

See also