Modify ↓
Ticket #11947 (closed bug: invalid)
datepicker numberOfMonths
| Reported by: | anweshkumar@… | Owned by: | |
|---|---|---|---|
| Priority: | undecided | Milestone: | None |
| Component: | unfiled | Version: | 1.7.2 |
| Keywords: | Cc: | ||
| Blocking: | Blocked by: |
Description
I have two datepicker textboxes StartDate and EndDate. After selecting the dates, i need to show the number of months between StartDate and EndDate range.
For example, January 1st in StartDate and May 30th in EndDate. So I need to show 5 months from January to May.
Show only 5 months, 4 months in one row and 1 month in another row.
If you set "numberOfMonths" value to [2,4] then it will show 8 months (January to August) in 2 rows starting from current month.
Any ideas?
Change History
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.
Note: See
TracTickets for help on using
tickets.

If you need programming help, please head to our forum or StackOverflow.