Ask A Question

Notifications

You’re not receiving notifications from this thread.

simple_calendar gem AJAX Drop-down list for Month/Years

Darion Wood asked in General

Greetings Chris,
I've been using simple_calendar gem for a while -- its a wonderful solution. I was wondering...Can you implement a dropdown list for the months/years for the calendar itself. I think it would be easier to navigate if it included a range for months/years. It could simply add 1+ year if for instance we're in 2019 and 2020 is coming up.

Best,
DW

Reply

Sure could. Just install the views, swap the header code with your dropdown, have it navigate after you select with Javascript and that should be good to go.

Reply

Alright, I'll give it a test run and post code if any isues surface. Best

Reply
Join the discussion
Create an account Log in

Want to stay up-to-date with Ruby on Rails?

Join 87,400+ developers who get early access to new tutorials, screencasts, articles, and more.

    We care about the protection of your data. Read our Privacy Policy.