procedure OnApplyEditText (Sender: TObject; ACol, ARow: Integer; var Value: String)
Description
Occurs when you finish editing a cell. Allows you to change the entered value.
When editing a cell, the following chain of events is triggered: OnBeforeEdit > OnAplyEditText > OnEditAccept > OnAfterEdit
In the parameters of this event there is a Value parameter that allows you to change the value entered by the user.
Example
procedure Form1_TableGrid1_OnApplyEditText (Sender: TObject; ACol, ARow: Integer; var Value: String);
begin
if Value = 'Hello' then Value := 'Bye'; // If the entered value is Hello, then change it to Bye
end;