Kendo scheduler Month View wrong date selection

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

    Posted 18 Apr 2016 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
    2190 posts

    Posted 20 Apr 2016 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. Salim
    Salim avatar
    54 posts
    Member since:
    Jun 2016

    Posted 19 Jan Link to this post

    Any update on this bug?
  4. Vladimir Iliev
    Admin
    Vladimir Iliev avatar
    2190 posts

    Posted 23 Jan Link to this post

    Hello,

    As I mention in my previous reply I would need runable example where the issue is reproduced in order to investigate further this behavior. 

    Regards,
    Vladimir Iliev
    Telerik by Progress
    Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
  5. Salim
    Salim avatar
    54 posts
    Member since:
    Jun 2016

    Posted 23 Jan Link to this post

    Hi Vladimir,

    The problem is in your official demo (we only added selectable: true):

    http://dojo.telerik.com/OPIGe

    In order to reproduce the issue, these are the steps that we followed after adding the above line of code:

    1. Select Month View.
    2. Select 03 June 2013 cell.
    3. Select Day View (the displayed day is 03 June 2013).
    4. Return to Month View.
    5. Select 02 June 2013 cell.
    6. Select Day View.
    7. Observe.

    Actual Result:The displayed date in Day View is again 03 June 2013
    Expected Result: The displayed date in Day View should be 02 June 2013

    If you want, we can send you a short video.

    Thank you in advance.

  6. Vladimir Iliev
    Admin
    Vladimir Iliev avatar
    2190 posts

    Posted 24 Jan Link to this post

    Hello,

    I tried to reproduce the issue in the provided demo but it's working as expected (2 June is selected correctly). That why we would need the following additional information to investigate further this behavior:
    • browser and version used
    • Kendo UI version used
    • record small video if possible
    • the timezone of the PC you are using

    Regards,
    Vladimir Iliev
    Telerik by Progress
    Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
  7. Salim
    Salim avatar
    54 posts
    Member since:
    Jun 2016

    Posted 24 Jan in reply to Vladimir Iliev Link to this post

    Hi Vladimir,

    Kindly find below the information requested:

    • browser and version used - Chrome Version 55.0.2883.87
    • Kendo UI version used - 2017.1.118
    • record small video if possible - please find the attached files (one is in .gif format, the other in .mp4)
    • the timezone of the PC you are using - 

                Time zone: EET (Eastern Europe Time)

                Current time zone offset:  +02:00 hours

  8. Boyan Dimitrov
    Admin
    Boyan Dimitrov avatar
    1910 posts

    Posted 26 Jan Link to this post

    Hello Salim,

    It is a bit weird behavior since I am testing the exact same demo with exact same time zone on my computer and it is working as expected. Please refer to the attached video. The only difference my browser version (Chrome Version 56.0.2924.76). Could you please double check the time zone on your computer and preferably test the same scenario (open the basic usage demo and enable the selectable option) on different machine/machines if possible?  

    Regards,
    Boyan Dimitrov
    Telerik by Progress
    Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
  9. Salim
    Salim avatar
    54 posts
    Member since:
    Jun 2016

    Posted 26 Jan in reply to Boyan Dimitrov Link to this post

    Hi Boyan,

    Try your demo with our "exact" scenario (the same days as in our scenario which are 2 adjacent ones) and you will get the problem 

  10. Vladimir Iliev
    Admin
    Vladimir Iliev avatar
    2190 posts

    Posted 30 Jan Link to this post

    Hi Salim,

    Thank you for the last clarification. Indeed the selection is not updated as you mention. I informed our dev team about it and they are after it. You can follow this issue in Github for updates on the matter. 

    Also as a small sign of appreciation I updated your telerik points.

    Regards,
    Vladimir Iliev
    Telerik by Progress
    Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Back to Top