Localize Gantt resize tooltip template

2 posts, 0 answers
  1. Michał
    Michał avatar
    1 posts
    Member since:
    Dec 2012

    Posted 27 Nov 2014 Link to this post

    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.

  2. Bozhidar
    Admin
    Bozhidar avatar
    1102 posts

    Posted 01 Dec 2014 Link to this post

    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!
     
  3. Kendo UI is VS 2017 Ready
Back to Top