TTMSFNCDataGridRenderer.OnCellEditValidateData Event
Fired to validate the edited value before it is committed. Set
AValidto False to keep the editor open.
API unit family: TMSFNCDataGridRenderer
Declaring type: TTMSFNCDataGridRenderer
Syntax
OnCellEditValidateData: TTMSFNCDataGridCellEditValidateDataEvent;
__property TTMSFNCDataGridCellEditValidateDataEvent OnCellEditValidateData = {read=FOnCellEditValidateData, write=FOnCellEditValidateData};
Remarks
When the value is rejected, the editor stays open and StopEditing returns False. Fires after OnBeforeCloseInplaceEditor.
Parameters
| Name | Description |
|---|---|
Sender |
Renderer that fired the event. |
ACell |
Cell coordinate being edited. |
AInplaceEditor |
In-place editor that produced the value. |
AValue |
Value to validate. |
AValid |
Set to False to reject the value. |