I have two grids where some of the cells are of type “dhxCalendar”. In one grid, the calendar works perfectly, always defaulting to today’s date. The second grid, it always defaults 12/31/1969. In the second case, the grid cell is already primed with a “variable name” such as {birthdate}. The user is supposed to click on it and then replace that with the chosen date.
Because the grid cell is not “blank” as in the first example, my guess is that it is trying to format {birthdate} and failing, so it defaults to 12/31/1969.
I tried to override this by attaching the “onDhxCalendarCreated” event, and resetting the date back today’s date, but it isn’t working.
Can you tell me how to have it ignore this initial placeholder setting (e.g., {birthdate}) and start with today’s date…?