Skip to main content

Search and Top Navigation

#2538 closed feature (fixed)

Opened March 18, 2008 11:52AM UTC

Closed July 04, 2008 06:01PM UTC

Last modified January 17, 2010 06:11AM UTC

UI.datepicker custom cell renderer

Reported by: istvano Owned by: grabanski
Priority: major Milestone: 1.5.2
Component: ui.datepicker Version: 1.5b4
Keywords: Cc:
Blocked by: Blocking:
Description

Dear All,

I love the datepicker it is amazing.

I am using it for most for our date selection, although There is an other plugin which has one very well needed feature for me which I could not find yet in the UI Datepicker.

this is a callback when the component renders it's individual cells.

The reason is that, Sometimes we use the same date component to select dates as well as to show some grafical signs on certain dates to indicate events, or different things occuring on that date, with a custom callRender callback we can render these graphical elements there for specific date.

I think this would be a well values feature also in the UI.Datepicker.

Thanks,

Istvan

Attachments (0)
Change History (7)

Changed March 19, 2008 01:16PM UTC by paul comment:1

owner: pauliMarc

Changed May 24, 2008 03:39AM UTC by comment:2

milestone: 1.2.4

Milestone 1.2.4 deleted

Changed May 24, 2008 07:12PM UTC by paul comment:3

component: ui.coreui.datepicker
version: 1.2.31.5b4

Changed May 27, 2008 10:38PM UTC by paul comment:4

owner: iMarcgrabanski
status: newassigned

Changed June 20, 2008 02:12PM UTC by kbwood comment:5

You can use beforeShowDay to customise the presentation of individual days. It takes a date as a parameter and returns an array with [0] = true if selectable, false if not, [1] = CSS class name(s) to add, [2] = text to set as cell title (optional).

Changed July 04, 2008 06:01PM UTC by paul comment:6

resolution: → fixed
status: assignedclosed

I think that should be enough to style the date.

Changed July 09, 2008 05:39PM UTC by paul comment:7

milestone: → 1.5.2