Opened 10 years ago

Closed 10 years ago

Last modified 7 years ago

#4422 closed enhancement (worksforme)

Can I highlight/mark special days ??

Reported by: squeral Owned by:
Priority: minor Milestone:
Component: ui.datepicker Version: 1.7.1
Keywords: select mark highlight days date Cc:
Blocked by: Blocking:

Description

Is it possible to highlight/mark/disable a list of special days like holidays ???

Change History (2)

comment:1 Changed 10 years ago by kbwood

Resolution: worksforme
Status: newclosed

Yes, use the beforeShowDay setting. This is a function that is called for each day shown. It receives the date as a parameter and returns an array with [0] set to true if this date is selectable or false if not, [1] set to one or more CSS classes for this date, [2] (optional) set to a popup tooltip for this date. See the noWeekends function for an example.

comment:2 Changed 7 years ago by Scott González

Milestone: TBD

Milestone TBD deleted

Note: See TracTickets for help on using tickets.