setDate() inside of Grid on dhxCalendar does not work

Hello,

we using DHTMLX 3.6 Pro. I am trying to change the date to a custom date using onCellCahanged Event. I tried to use setValue() and setDate(). I also tried differnt formants (yyyy-mm-dd, yyyy/mm/dd etc). Nothing works. Grid does not load if I try to change current date.

myGrid.setColTypes("co,co,ed,ed,dhxCalendar,ed");
myGrid.setDateFormat("%d.%m.%Y");
myGrid.cellById(rId,4).setDate("2012/02/02");     // I tried different Formats + setValue() as well

It is a bug or do I do something wrong?

Many Thanks!

p.s. I know, that setDate isn’t support method on dhxCalendar inside of grid. That was just a simple try :slight_smile:

I fixed the problem. My logical mistake. Sorry :slight_smile: