Can dhtmlXCalendarObject be attached to an input box (sample: dhtmlx.com/docs/products/dht … input.html) while I am already using dhtmlXWindows and have document.body set to the viewport?
I am not getting any errors, but it doesn’t seem to be working for me. The windows I am creating with createWindow appear to be working fine, but the input text boxes I have listed in my dhtmlXCalendarObject command do not seem be doing anything.
I’ve commented out the code used to initialize the dhtmlxWindows and now my text box kinda works. That is, the calendar show’s and hides, but it is no where near my text box.
Strangely enough, I think it is actually working. But with document.body set to the viewport, I do not get any scroll bars, and I think the calendar attached to the text box is below my visible window.
Looking further, I found that I had set the position for all calendars to relative for another piece of code that uses an inline , non-attached calendar. I’ll have to make that more direct I guess.
Whether you tried to attach a calendar directly to the window object?
w1 = dhxWins.createWindow(document.body, 80, 80, 450, 450);
formData = [{type: "calendar", name: "zzz"}];
place = w1.attachForm(formData);
myCalendar = place.getCalendar("zzz");
You will get the next result:
Get a guaranteed answer from DHTMLX technical support team
under the most suitable support plan