This is a migrated thread and some comments may be shown as answers.

Localize Gantt resize tooltip template

1 Answer 112 Views
Gantt
This is a migrated thread and some comments may be shown as answers.
Michał
Top achievements
Rank 1
Michał asked on 27 Nov 2014, 09:43 AM
Hello!
I am looking for a proper way to change the embedded RESIZE_TOOLTIP_TEMPLATE, because I need to localize it - see the example below:

 var RESIZE_TOOLTIP_TEMPLATE = kendo.template('<div style="z-index: 100002;" class="#=styles.tooltipWrapper#">' +
                                   '<div class="#=styles.tooltipContent#">' +
                                        '<div>Rozpoczęcie: #=kendo.toString(start, "d MMMM yyyy")#</div>' +
                                        '<div>Zakończenie: #=kendo.toString(end, "d MMMM yyyy")#</div>' +
                                   '</div>' +
                              '</div>');

How can I achieve this effect?
Thanks in advance.

1 Answer, 1 is accepted

Sort by
0
Bozhidar
Telerik team
answered on 01 Dec 2014, 07:07 AM
Hello,

We will introduce options to set the text and format of the dates in the resize hint template in our next official release. Unfortunately there isn't a way to workaround the values in the current implementation of the control.

Regards,
Bozhidar
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
Tags
Gantt
Asked by
Michał
Top achievements
Rank 1
Answers by
Bozhidar
Telerik team
Share this question
or