showDatePickerButton on a custom button

Hello i want to show date picker like showDatePicker:true ,on a custom button that i created on toolbar.Something like the sc when i tap the month title(customized) i want the calendar to apper below like sc.
Anyone can help me
?

1 Reply 1 reply marked as answer

IR Indumathi Ravichandran Syncfusion Team July 13, 2021 06:12 AM UTC

Hi Ergi, 
 
Thank you for contacting Syncfusion support. 
 
Based on the shared information, we suspect your requirement is “To show the date range picker while tapping custom header in SfCalendar”. You can hide the default header using headerHeight value as 0 and add the required custom header. By using this we have prepared the sample for showing SfDateRangePicker in an alert window when tapping the custom header. Please find the sample from the following link. 
 
 
Also, we have a KB document for showing date picker while calendar view changed. Please find the KB from the following link. 
 
 
Please find the KB for adding custom header and view header in the Flutter Calendar.  
 
KB link: 
 
We hope that this helps you. If this is not your requirement, can you please share more details about your requirement clearly. It would be helpful for us to analyze and provide you a solution at the earliest. 
 
Regards, 
Indumathi R 


Marked as answer
Loader.
Up arrow icon