How to set the number of years displayed.
How to set the number of years displayed.
th3t1ck
Posts: 228Questions: 37Answers: 1
in DataTables
I have a date that you can pick a previous year from but it doesn't show years far enough back. So for instance if I want to enter someone's birth year and they were born in 1960 how can I have the date picker show that many years back in time?
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
Hi @th3t1ck ,
You can use
minDate
for that:See example here.
Cheers,
Colin
Thank you Colin. That did the trick.