dthmlxcalendar inside a window

Hi,

Is it possible to embed the dhtmlxcalendar inside a pop up dhtmlxwindow ?

  • The window appear (empty) and the calendar launches outside (in the main parent)

Code :-

w2 = dhxWins.createWindow(“CALwdw”, 20, 30, 400, 350);
w2.setText(“Select Date Range”);
dhxWins.window(‘CALwdw’).center();
dhxWins.window(‘CALwdw’).setModal(true);
w2.attachURL(“calendar_inner.html”, true);

calender_inner.html :-

 

Hello,

locally the issue wasn’t reproduced. Please provide complete demo.

Hi,

I’ve identified the problem, i had the

declared on both the inner html file and also the main window html … removing from the latter fixed the issue.

However i now have a new problem…

My pop up DhtmlxWindow displays a Double Calendar, but i cannot find supporting documentation on how to return the from/to date ?

Can you please advise ?

Many many thanks
Andy

Andy, have a look at the answer given here:
viewtopic.php?f=4&t=12132