OnAcceptEdit
Occur after AssignEditing method is called. AssignEditing is called internally when user finish with editing (e.g. by selecting other cell etc.).By using this event assignment may be rejected, and string representation of value may be inspected and/or adjusted.
property OnAcceptEdit: TNxAcceptEditEvent read FOnAcceptEdit write FOnAcceptEdit;
Example:
procedure TForm1.NextGrid61AcceptEdit(Sender: TObject; ACol, ARow: Integer;
var Text: WideString; var Accept, CanLeave: Boolean);
begin
if Text = '' then
begin
Accept := False;
CanLeave := False;
Text := 'Default value';
end;
end;