How can I help you?
Set clear button in calendar in TypeScript Calendar control
To configure clear button in Calendar UI, do the following:
-
To the
createdevent of the Calendar, add the required elements to make clear button visible. In the following example, Essential® JS 2 button component withindivelement is used. -
When the
e-footerclass is used, the div tag acts as the footer. -
Using these button, selected date can be cleared.
-
Bind the required event handler to the button tags to update the value.
Code example is as follows: