Open GoogleCodeExporter opened 9 years ago
Thanks for the bug report.
Unfortunately datePickerMultiMonth is a bit of a hack and just instantiates a
bunch
of date pickers next to each other. I would love to make it faster but am too
busy to
do so at the moment. When I have some spare time I will be sure to look into
this and
see what I can do - if you do any investigation in the meantime and find ways to
speed it up then patches would be appreciated. I think that possibly generating
the
calendar before appending it to the document may speed things up.
Hope that helps,
Kelvin :)
Original comment by kelvin.l...@gmail.com
on 1 Sep 2009 at 10:55
Thanks for your response :)
I examined your code and found out that the majority of computing time is spent
on
this line:
basePicker.dpSetDisplayedMonth(1, 3000);
I changed this so that it only forwards the minimum required months to the
future to
trigger a redraw of all visible elements depending on the numMonths variable:
d=new Date();
var month = s.month || d.getMonth();
var year = s.year || d.getYear();
basePicker.dpSetDisplayedMonth((month+s.numMonths)%12,
year+Math.floor((month+i)/12));
It is much quicker now, albeit still a bit slow, but i can live with it for now
:)
Regards,
Matej
Original comment by matej.lo...@gmail.com
on 2 Sep 2009 at 1:13
Issue 116 has been merged into this issue.
Original comment by kelvin.l...@gmail.com
on 14 Sep 2009 at 10:11
Hi... Anyone able to find a solution for slow response in IE6 on using
jquery.datePickerMultiMonth. I just need 2 months to be displayed side by side..
Original comment by gspadmap...@gmail.com
on 14 Oct 2009 at 6:29
Original issue reported on code.google.com by
matej.lo...@gmail.com
on 31 Aug 2009 at 12:50