Add a "cell" formatter callback to allow for direct manipulation of each individual cell in a calendar or time picker.
The cell argument is the cell element, the date argument is the Date Object representing that cell and the cellOptions argument is an object containing the cell types being displayed, and whether the cell is adjacent, disabled or active.
Add a "cell" formatter callback to allow for direct manipulation of each individual cell in a calendar or time picker.
The
cell
argument is the cell element, thedate
argument is the Date Object representing that cell and thecellOptions
argument is an object containing the cell types being displayed, and whether the cell is adjacent, disabled or active.JSBin example here: http://jsbin.com/hafenikefi/edit?html,css,js,output
In the example above, I use the cell formatter to highlight the public holidays in Australia.