dhxCalendarA to current date


Thanks for this solution.



I have a null value in my column. when used with null value i still get date of 1970 not the current date. If the column value is empty then it shows current date.



Can you help me in fixing this problem.


If you are using not empty value - it parsed as date. Null can’t be correctly parsed, and calendar fallback to minimal date.
You can add next line at dhtmlxgrid_excell_dhxcalendar.js

eXcell_dhxCalendar.prototype.setValue = function(val){
if (val==“null”) val=""; //can be added to fix your problem