FNCDataGrid with data adapter & getDatePicker editor

I'm using day/month/year.

When I use a getDatePicker as editor, when the user starts typing a date, without pressing ENTER before, the first number he types is "eaten", month 1/1900 is used, and then typing is ok after the second digit. Sometimes it uses 1/1900, sometimes it uses 12/1899. Original date month/year are lost.

If he presses ENTER at the cell before typing the desired date, everything works well.
Original date month/year are preserved when you start typing the day after having pressed ENTER before.

BTW, it presents a DatePicker even if I use getEdit and set gcsEditor in Settings.

Do you mean that the first key-press to open the editor is not taken into account?
Or is this behavior happening when the editor is alraedy open?

The first keypress, and then when it's open I can't type a 2 digit day.
When the first key pressed is ENTER, it works fine.

Please use your demo, tms.fnc.uipack\Demos\VCL\DataGrid\Basic\Editing .
image
The original date of the first row was 25/6/2025. I type "14", and this :point_up_2: is what I get.

We'll investigate asap

We have applied an improvement. Next version will have the improvement included.

1 Like