Opened 13 years ago

Closed 12 years ago

Last modified 12 years ago

#6949 closed bug (fixed)

Datepicker: Rendering problem after changing numberOfMonths option

Reported by: KrishnarajD Owned by:
Priority: minor Milestone: 1.8.13
Component: ui.datepicker Version: 1.8.6
Keywords: Cc:
Blocked by: Blocking:

Description

When i try to set the datepicker's "numberOfMonths" value to 2 at runtime, the datepicker alignment was not proper.

//Checked by using the below code snippet.
$( "#datepicker" ).datepicker( "option", "numberOfMonths", 2 );

Checked in the below link using Firebug tool.
http://jqueryui.com/demos/datepicker/#multiple-calendars

Change History (5)

comment:1 Changed 13 years ago by Scott González

Component: ui.coreui.datepicker
Status: newopen

comment:2 Changed 12 years ago by kzys

What is your browser? I can't reproduce alignment problem with Firefox 4 and Safari 5. My test code is below.

        $( "#datepicker" ).datepicker({
            numberOfMonths: 2,
            showButtonPanel: true
        });

comment:3 Changed 12 years ago by Scott González

@kzys: The problem is with $( "#datepicker" ).datepicker( "option", "numberOfMonths", 2 ) after initialization.

comment:4 Changed 12 years ago by Scott González

Milestone: 1.91.8.13
Resolution: fixed
Status: openclosed

comment:5 Changed 12 years ago by Scott González

Summary: Datepicker-Issue with "numberOfMonths" optionDatepicker: Rendering problem after changing numberOfMonths option
Note: See TracTickets for help on using tickets.