Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Namrta on Jan 06, 2010 01:00
open dhtmlx forum
combo select in month and year in dhtmlxcalendar

Hi,

I am using dhtmlx calendar in one of my jsp, I've set isYearEditable and isMonthEditable to true:

var mCal = new dhtmlxCalendarObject(target,true,{headerButtons: true,btnPrev: true,btnNext: true,btnBgPrev: true,btnBgNext: true,isYearEditable: true,isMonthEditable: true});
    mCal.setSkin('yahoolike');
    mCal.show();

Now the year and month i am able to change but user is not able to identify that there are drop down for year and month change. Can you please suggest me how can i make these drop down as combo boxes so that user can easily identify the drop downs.

Thanks in Advance.

Namrta.
Answer posted by Alex (support) on Jan 06, 2010 01:37

Hello,

unformtunately there isn't a public method to change the drop-downs for year and month. We'll try to find the solution and provide it if it's possible.

Answer posted by Alex (support) on Jan 11, 2010 06:49

We have attached the modified dhtmlxcalendar.js (for yahoolike skin). You can try to use it instead of the original one. 

The dropdown.gif should be placed in the imgs folder.

Attachments (2)
Answer posted by Thanks a lot, it works :) on Jan 12, 2010 21:44