Can the datetimepicket time icon click call a custom function

1 Answer 39 Views
DateTimePicker
Jerry
Top achievements
Rank 1
Iron
Iron
Iron
Jerry asked on 11 Jun 2024, 04:05 PM

I am using Kendo datetimepicker in a VueJS app.

Is there a way to display the Calendar and Time icons as below, but change the Time icon "click" to call a custom function?

I still want the calendar icon to work as normal. I just want the time icon to call one of my functions and not to display the time values.

 

1 Answer, 1 is accepted

Sort by
0
Konstantin Dikov
Telerik team
answered on 14 Jun 2024, 01:42 PM

Hello Jerry,

Thank you for contacting us.

The DateTimePicker does not provide an option for such customization, but you can use the default rendering and add a separate Button with SVG time icon and handle its click event:

Hope this helps.

 

Regards,
Konstantin Dikov
Progress Telerik

Stay tuned by visiting our public roadmap and feedback portal pages! Or perhaps, if you are new to our Kendo family, check out our getting started resources

Tags
DateTimePicker
Asked by
Jerry
Top achievements
Rank 1
Iron
Iron
Iron
Answers by
Konstantin Dikov
Telerik team
Share this question
or