Calendar: Support defining custom ranges #2695
-
I have a feature request for the calendar. We are currently using ngx-daterangepicker-material in our project. This component supports user-defined date range presets, for example you can define a preset 'last month' with timestamps for start and end. The user can then quickly select this range by clicking the corresponding button. This would be a useful enhancement for selecting data for diagrams, project management applications, etc. Live example: https://fetrarij.github.io/ngx-daterangepicker-material/custom-ranges |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi! @marcelkauf I think you can do this with PrimeNG already relying on the advanced templating capabilties. |
Beta Was this translation helpful? Give feedback.
Hi! @marcelkauf I think you can do this with PrimeNG already relying on the advanced templating capabilties.
Here is an example how I would do it:
https://stackblitz.com/edit/xbxs5s?file=src%2Fapp%2Fcalendar-multiplemonths-demo.html