Posted: 10 Mar 2019 7:07 EDT Last activity: 12 Mar 2019 0:16 EDT
Past date disabling in calender
In Calendar, we can customize it in different way. Now I have a question regarding calendar customization. Actually in our application, user want to see the date as in the calendar as well as in the drop down. It is fine and I have implemented that things. But the problem is that user don't want to see the past date and year in Calendar. How can we restrict them to show them the past years and dates?
***Edited by Moderator Marissa to update platform capability tags****
You have not mentioned the Pega version but this feature is available in 7.4. In the pxDateTime control you have the option to set the date range. For Previous Year just set the value to 0 and a positive integer for the Next Year according to your requirement. Hope this helps.