umair96 / jquery-datepicker

Automatically exported from code.google.com/p/jquery-datepicker
0 stars 0 forks source link

Multiple month and multiple select #238

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
It's not really an issue, but I'd like to know how to use both multiple month 
and multiple select at a time... Is that possible ? If not, why ?

Original issue reported on code.google.com by nano4...@gmail.com on 6 Sep 2010 at 9:13

GoogleCodeExporter commented 8 years ago
I don't see why not. Did you try something like:

$('#multimonth').datePickerMultiMonth(
    {
        numMonths: 2,
        inline: true,
        selectMultiple: true
    }
);

?

Original comment by kelvin.l...@gmail.com on 6 Sep 2010 at 8:59

GoogleCodeExporter commented 8 years ago
Do you have to use inline to be able to select multiple without it closing on 
you each time?

Original comment by dylan.sp...@gmail.com on 8 Dec 2010 at 11:37

GoogleCodeExporter commented 8 years ago
No. Just pass closeOnSelect: false if you don't want the calendar to close when 
a date is selected...

Original comment by kelvin.l...@gmail.com on 9 Dec 2010 at 9:55