Indicate currently active InplaceEdit - a child control (TextBox, ComboBox etc.) used by grid while editing.

If grid is not in editing state property return nil.

property InplaceEdit: INxInplaceEdit read GetInplaceEdit;
Before enters into edit state, grid look for inplace-edit component inside InplaceEdit property of column. If this property not set (is nil), editor component is created based on column type, and after editing is done is automatically destroyed.


This property reference to InplaceEdit property of currently editing column.


NextGrid61.EditCell(2, NextGrid61.SelectedRow); NextGrid61.InplaceEdit.AsString := 'sample';
Last line may be written also as:

NextGrid61.Columns[2].InplaceEdit.AsString := 'sample';

See also