I have a datepicker with validation rule that calculates a new date, if the input is a number.
E.g. if today is 12/24/2016 and I type in 2 I get the date 12/26/2016.
This works fine. By validation the right date is set.
But if the datefield is in a grid, the date is not always set, only every second time.
This happens if I type in a number and after that i click on another gridcolumn.
It works, if I type in a number and then press enter-key or tab-key or click outside the gid.
Does the validation works different by clicking on the grid and hitting the enter/tab key, ?
The validation function is:
Or is there another way to turn integers to date with a grid datefield?
Thanks in advance