New to KendoReact? Start a free 30-day trial
Add buttons with predefined ranges in DateRangePicker's popup
Environment
Product Version | 5.12.0 |
Product | Progress® KendoReact DateRangePicker |
Description
I want to add buttons in the DateRangePicker's popup for setting predefined ranges (like today's date, this week, this month, etc.).
Solution
For achieving the desired result a custom Popup must be defined for the DateRangePicker, where the custom buttons can be added. Since the custom Popup of the DateRangePicker provides the default children elements, they can be re-used.
This is an example showcasing how to limit the value:
Change Theme
Theme
Loading ...