Kendo scheduler Month View wrong date selection

2 posts, 0 answers
  1. MUHAMMAD AIMAN
    MUHAMMAD AIMAN avatar
    3 posts
    Member since:
    Dec 2012

    Posted 18 Apr Link to this post

    Hi I am working with Kendo scheduler with AngularJS. Only month view is activated. Sometime I am facing a problem which one I can not reproduce always. Upon double clicking on any date I am going to date edit page(diff html same controller). I am editing some thing there and after saving, coming back to scheduler. From the edit page, I can back to scheduler without editing anything. When I just coming back to scheduler without editing/saving anything sometime I found that date selection is not correct. For example, If I click 5 Jan, 4 Jan is being selected, If I click 28 FEB then 27 Feb is being selected. For the first date of each week (First cell of each row) is being selected correctly. Any Idea?
    Here is my scheduler option

                 $scope.schedulerOptions = {
                    date: stDt   ,
                    startTime: stDt,
                    min: $scope.minDate,
                    max: $scope.maxDate,
                    height: 750,
                    autobind: true,
                    views: [
                        {
                            type: "month"
                        }
                    ],
                    timezone: "Etc/UTC",
                    dataSource:  $scope.tmpltDS,
                    editable: false,
                    selectable: true,
                    change: scheduler_change,
                    dataBound: scheduler_dataBound
                };

  2. Vladimir Iliev
    Admin
    Vladimir Iliev avatar
    2172 posts

    Posted 20 Apr Link to this post

    Hello Muhammad,

    From the provided information it's not clear for me what is the exact setup that you have and what might be the reason for current behavior. Could you please provide runable example where it can be reproduced in order to investigate further current behavior? 

    Regards,
    Vladimir Iliev
    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