Week no. in DatePicker + change order of week days

2 posts, 0 answers
  1. Sven
    Sven avatar
    1 posts
    Member since:
    Feb 2016

    Posted 08 Feb 2016 Link to this post


     I'm about to import the datepicker in my Java (JSP) system but I first want to do some customization to the datepicker according to requirements from customer. However here I seem to have some trouble and have some questions to whether this is doable. What I want to do is to add week numbers in the beginning of each 'row' of the calendar, I understand that this is not something which is supported 'on the fly' by Kendo UI datepicker, and I also want to change the order of the days in the calendar so that the week starts at Monday instead of Sunday, which is the original implementation. See attached picture.


    Are these things doable by customizing the template somehow, like customizing the JSP page here: http://demos.telerik.com/jsp-ui/datetimepicker/template

    I've also found the following forum post which, I figure, seems to have the same problem/question.


  2. Georgi Krustev
    Georgi Krustev avatar
    3742 posts

    Posted 10 Feb 2016 Link to this post

    Hello Sven,

    In general, the the starting week day is configured based on the kendo culture used on the client. The default one is "en-US", but the widget allows to define different culture, e.g. "de-DE", where the first day of week is Monday: Note that you need to include the related kendo culture script in the page:
    With regards to the "Week numbers" request, I am afraid that it is not supported and the only feasible solution is to create a separate custom view. Tweaking the existing one will not be solution in this case, as we need to change the rendering as a whole. I would suggest you vote for this functionality here:
    Georgi Krustev
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Back to Top