Skip to Main Content

APEX

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

In date picker I should be able to select only Sundays and last day of the month. . How can I achieve this?

Navyashree K CJan 30 2024

In date picker I should be able to select only Sundays and last day of the month. Rest of days should be greyed out.How can I achieve this?

apex.items.enddate.dayFormatter = function (pDateISOString){
var day = apex.date.parse(pDateISOString, "YYYY-MM-DD").getDay();

return {
disabled : ! (day == 0 )
};
};

apex.items.enddate.refresh();

Using above code, I am able to enable Only all the sundays not able to enable last day of the month.

Comments
Post Details
Added on Jan 30 2024
2 comments
767 views