Library Vcl NextSuite 6 NextGrid6 Reference Classes TNxCustomGrid6 InplaceEdit

InplaceEdit

Reference to currently active in-place editor component (child control like text-box, combo-box etc.). If the grid is not currently being edited, value of the property will be nil.

pas
property InplaceEdit: INxInplaceEdit read GetInplaceEdit;

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

Remarks

This property reference to InplaceEdit property of currently editing column.

Example

pas
NextGrid61.EditCell(2, NextGrid61.SelectedRow);
NextGrid61.InplaceEdit.AsString := 'sample';

Last line may be written also as:

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

Files

Sign in