traingenerator
traingenerator copied to clipboard
Programmatically select range
Hi, is it possible to select a range not clicking to dates but for example clicking on a button like "Last 3 months" and then view the range selected on the calendar? Thanks
@davidecampello I'm wondering about the same issue, if You get rid of this please let me know.
Hi! unfortunatly not. As a workaround I created a custom modal with three buttons. When clicked they dismiss the modal passing the range I want.
Thanks for the reply. I have done it the same way, without integration with the calendar. In my case, I need to pass the selected range by button when getting the calendar modal again, but there is a field for that in options input.