How can I set as a default date the date of the day in a grid’s cell using dhxCalendarA?
By default, when the cell hasn’t a value the date that appears is 1-1-1970.
Many thanks in advance.
Antoni
Do you use the latest grid version ?
The issue doesn’t appear in it:
dhtmlx.com/docs/products/dhtmlxG … 1729927000
I’m using the open source version of dhtmlx suite 2.1
I’ve discovered this happens when the default value is a blanc character (’ ‘) instead of a null string(’’).
Is it possible to make as the default date the present date when it is invalid ?
Many thanks,
Antoni
>> Is it possible to make as the default date the present date when it is invalid ?
dhxCalendar doesn’t provide public methods to do that.
You should use own approach to set correct value in the xml or in the addRow method