Unplanned
Last Updated: 22 Jan 2024 08:22 by ADMIN
Christian
Created on: 15 Jan 2024 10:28
Category: Kendo UI for jQuery
Type: Feature Request
0
In Datepicker and TimePicker adaptive mode it is not possible to translate or customize the ActionSheet title

It would be nice to customize the ActionSheet title for adaptive DatePicker or TimePicker. Currently it is hardcoded.

A title entry in the messages object would be nice.

1 comment
ADMIN
Neli
Posted on: 22 Jan 2024 08:22

Hello Christian,

Currently messages option dedicated to the ActionSheet texts displayed in the adaptive DatePicker are not exposed. Thus, the issue could not be considered as a bug, but a Feature Request. I am changing the type of the issue accordingly. I am also changing the status of the item to 'Unplanned'. We will keep monitoring the popularity of the item, and based on it, the issue could be considered for implementation.

In the meantime, in order to change the needed text, you can handle the activate event of the ActionSheet displayed for the DatePicker. In the event handler you can find the needed element and change its text:

 $('.k-actionsheet-container .k-popup').data('kendoActionSheet').bind('activate', function(w){        
            $('.k-actionsheet-container .k-actionsheet-titlebar .k-text-center:eq(0)').text('Changed title')
        }) 

Here is a Dojo example where this is demonstrated:  - https://dojo.telerik.com/@NeliKondova/AyaJUZub

I hope this helps. 

Regards,
Neli
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