ASPxClientDateNavigator.DayCellCustomHighlight Event
In This Article
Allows you to provide custom highlighting styles for day cells.
#Declaration
TypeScript
DayCellCustomHighlight: ASPxClientEvent<ASPxClientDateNavigatorDayCellCustomHighlightEventHandler<ASPxClientDateNavigator>>
#Event Data
The DayCellCustomHighlight event's data class is ASPxClientDateNavigatorDayCellCustomHighlightEventArgs. The following properties provide information specific to this event:
Property | Description |
---|---|
appointments | Provides access to the processed appointments. |
date | Provides access to the date object of the processed cell. |
html |
Gets the HTML element that the event was triggered on. |
#Remarks
Note
The Day
function OnDayCellCustomHighlight(s, e) {
if(e.appointments.length > 0)
e.htmlElement.className = e.htmlElement.className + " customStyle";
}
#Online Demo
See Also