Localization of dateformat of column headers

4 posts, 1 answers
  1. HMPSOLBB
    HMPSOLBB avatar
    15 posts
    Member since:
    Mar 2012

    Posted 18 May 2015 Link to this post

    Dears,

    using the localization of the gantt diagramm the date format of the header cannot be changed, always displayed in english. Can you show me the way to czhange the datetime format?

  2. Nencho
    Admin
    Nencho avatar
    1458 posts

    Posted 20 May 2015 Link to this post

    Hello Oliver,

    Please refer to our online demo, where the approach for implementation of the desired functionality is demonstrated:

    http://demos.telerik.com/aspnet-ajax/gantt/examples/accessibility-and-internationalization/localization/defaultcs.aspx

    You can selection form the dropdown a preferable language and you can observe how the datetime headers in the timeline view are changed.

    Regards,
    Nencho
    Telerik
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. HMPSOLBB
    HMPSOLBB avatar
    15 posts
    Member since:
    Mar 2012

    Posted 20 May 2015 in reply to Nencho Link to this post

    Thats right, i can Change the Language via the drop down:

    English - USA:              MON 6/02             TUE 6/03              WED 6/04

    German - Germany     MO 6/02                 DI 6/03                  MI 6/04

    The weekdays are changing but the dateformat not. The common german datetimeformat ist dd.mm.yyyy so the Header shuld be like that:

    German - Germany     MO 02.06.                 DI 03.06.                  MI 04.06.

    The same ist für Starttime and endtime

    regs

    Oliver

  5. Answer
    Dimitar Terziev
    Admin
    Dimitar Terziev avatar
    1266 posts

    Posted 25 May 2015 Link to this post

    Hello,

    You could change the header date format using the respective properties for the specific view. Below are the settings for the WeekView:
    <WeekView WeekHeaderDateFormat="ddd M.dd" DayHeaderDateFormat="ddd M.dd" />


    Regards,
    Dimitar Terziev
    Telerik
Back to Top