Skip to main content

Search and Top Navigation

#4422 closed enhancement (worksforme)

Opened April 01, 2009 12:32PM UTC

Closed April 07, 2009 06:32AM UTC

Last modified October 11, 2012 09:15PM UTC

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:

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

Attachments (0)
Change History (2)

Changed April 07, 2009 06:32AM UTC by kbwood comment:1

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.

Changed October 11, 2012 09:15PM UTC by scottgonzalez comment:2

milestone: TBD

Milestone TBD deleted