Hi all,
Good day.
i want enable year and month selection on date picker
how do i achieve this.
i got solutions from forge, we have to use this
https://success.outsystems.com/Documentation/Development_FAQs/How_to_have_a_date_picker_with_year_selection
just for clarify, you want to do what? switch month or year? Or Just select the month or year from calendar?
I ask that, because when you select the date from InputCalendar, you already selecting the month and year too
just like this image
Rajesh shaganti wrote:
hi Rajest,
try this it may be helpful
https://jogait.outsystemscloud.com/Datedropper_Sample/
shoeb khan wrote:
thanks reply me
I want year drop down and month drop down user has select year and month from the drop down
Hi Shoeb,
Can you Share the OML for above datedropper Sample, its very useful for me.
Regards,
Rakshitha
Like that?
Thiago Mari wrote:
Hai ,
In this input calendar widget displayed year 2009 to 2019 but I want to display the all year list on date picker.
how do i achieve this.Any one help me
Thanks,jeyasri
JEYASRI R wrote:
Hi,
You can set the maxYear or just write in input.
Hope to help
Hai thanks for reply,here is not display maxYear then how I set that value
In MinYear, you can put any year, and the MaxYear you can put
Year(CurrDate())
This is the way to get the current year.
Cheers
Hai, I am using datepicker not a richwidget
Regards,Jeyasri
It's the same way, if you look, you have the MinDate and maxDate, you can put the date or the code i send.
To open a menu (year or month) just click and hold in arrow
Don't need use noting from forge, it's too easy to do
I had the same problem and found the solution in this url: https://success.outsystems.com/Documentation/11/Reference/OutSystems_Language/Interfaces/Patterns/Date_Picker_Reference.
It's pretty simple...I needed the datepicker to select a date of birth and wanted to have a 100 year range so I just needed to go to the datepicker properties, select AdvancedFormat field and enter this:
"{ yearRange: [1910, 2021] }"