我正在将 dhtmlxcalendar 初始化为文本框。单击日历后,如果我不选择日期,然后单击其他选项卡,则日历不会关闭
var myCalendar = new dhtmlXCalendarObject(["effStartDate"]);
myCalendar.setDateFormat("%d-%M-%Y");
myCalendar.setSensitiveRange(new Date(),null);
document.getElementById("effStartDate").value= currentDate();
我有一个 dhtmlx 网格,其中一个 cloumn 是日历,如果我没有选择它没有关闭的日期,也会有同样的问题
var responsibilityTaskGrid;
responsibilityTaskGrid = new dhtmlXGridObject('responsibilityTaskGridBox');
responsibilityTaskGrid.setImagePath("dhtmlx/dhtmlxGrid/codebase/imgs/");
responsibilityTaskGrid.setHeader("Responsibility Name,Task UI Name,Effective Start Date,Effective End Date,Status,Edit/Delete,ID");
responsibilityTaskGrid.setInitWidths("150,*,120,120,80,80,0");
responsibilityTaskGrid.setColAlign("left,left,center,center,center,center");
responsibilityTaskGrid.setColTypes("ro,ro,ro,dhxCalendarA,ro,ro,ro");