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: |
Description
Is it possible to highlight/mark/disable a list of special days like holidays ???
Yes, use the
beforeShowDaysetting. 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 thenoWeekendsfunction for an example.