Save and cancel button inside Datepicker

1 Answer 251 Views
DatePicker
Rashmi
Top achievements
Rank 1
Veteran
Rashmi asked on 17 Mar 2023, 12:31 PM | edited on 17 Mar 2023, 12:31 PM

Hi Team,

I am using kendo react in my project. I need a Datepicker which should open on button click instead of input field with save and cancel button inside Datepicker.  I saw this option inside datetimepicker but i don't need time in my calendar. 

 

1 Answer, 1 is accepted

Sort by
0
Konstantin Dikov
Telerik team
answered on 21 Mar 2023, 09:05 AM

Hello Rashmi,

The DatePicker provides different options for customization and you can find them in the following help article:

Nevertheless, since you need to have "Save" and "Cancel" button and you don't need the DatePicker input, I would suggest that you use an external button to open a Popup component with Calendar component inside, where you can place the "Save" and "Cancel" buttons and handle the calendar value as per your exact requirements:

Hope this helps.

 

Regards,
Konstantin Dikov
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

Rashmi
Top achievements
Rank 1
Veteran
commented on 30 Mar 2023, 05:26 AM

Thanks Dikov it worked.
Tags
DatePicker
Asked by
Rashmi
Top achievements
Rank 1
Veteran
Answers by
Konstantin Dikov
Telerik team
Share this question
or