TTMSFNCDataGrid is not updating correctly for Custom picker

I have the grid attached to a GridDatabaseAdapter. For the normal use case things are working as expected. For TimeDate fields I want to use a custom picker. The date time on the grid shows the existing value correctly. The picker is initialized with the existing value, and after the edits it returns the new value. Unfortunately the grid then always shows 12/30/1899 (i.e. zero). Here is the code in the set edit data.

procedure TMainForm.DoCellEditSetData(Sender: TObject;
ACell: TTMSFNCDataGridCellCoord; AInplaceEditor: TTMSFNCDataGridInplaceEditor;
var AValue: TTMSFNCDataGridCellValue);
var
temp : TDateTime;
begin
if AInplaceEditor is TDateTimeEdit then
begin
AValue := (AInplaceEditor as TDateTimeEdit).SelectedDateTime;
temp := AValue.AsType; // I have verified temp has the correct date/time so Avalue is being set corretly.
end;
end;

Hi,

I’ve traced and solved this issue, next version of TMS FNC UI Pack will address this.

Thanks for reaching out!