Jquery datepicker with several months in vertical column

I need to display a jqery datepicker calendar with several months in a vertical column. The next month seems to be lower than the previous one. Does anyone know how to do this?

Thank!

+3
source share
5 answers

RTFM:

numberOfMonthsNumber ; Bathrooms, Array; Default value: 1

Indicate how many months to display immediately. The value can be a direct integer, or it can be a two-element array to determine the number of rows and columns .

+7
source
+1

I searched for this for a while, and I finally found it. You set the .ui-datepicker table {width: 100%;} .ui-datepicker.ui-datepicker-multi {width: auto;} to jQuery.ui.datePicker.min.css, and I preface this, I just wanted to so that two months are stacked or vertical, I set 100%, and that it took up all the space, otherwise it was not very beautiful.

   .ui-datepicker-multi-2 .ui-datepicker-group{width:100%}

Alas, I don’t like them, so I can’t post the pic, but it would be good for you guys. Police stacks best.

0
source

Source: https://habr.com/ru/post/1748368/


All Articles