This is a migrated thread and some comments may be shown as answers.

Kendo scheduler Month View wrong date selection

9 Answers 411 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
MUHAMMAD AIMAN
Top achievements
Rank 1
MUHAMMAD AIMAN asked on 19 Apr 2016, 03:27 AM

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
            };

9 Answers, 1 is accepted

Sort by
0
Vladimir Iliev
Telerik team
answered on 20 Apr 2016, 07:50 AM
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!
 
0
Salim
Top achievements
Rank 1
answered on 19 Jan 2017, 10:16 AM
Any update on this bug?
0
Vladimir Iliev
Telerik team
answered on 23 Jan 2017, 06:46 AM
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.
0
Salim
Top achievements
Rank 1
answered on 23 Jan 2017, 08:13 AM

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.

0
Vladimir Iliev
Telerik team
answered on 24 Jan 2017, 08:35 AM
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.
0
Salim
Top achievements
Rank 1
answered on 24 Jan 2017, 09:44 AM

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

0
Boyan Dimitrov
Telerik team
answered on 26 Jan 2017, 09:39 AM

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.
0
Salim
Top achievements
Rank 1
answered on 26 Jan 2017, 10:14 AM

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 

0
Vladimir Iliev
Telerik team
answered on 30 Jan 2017, 11:20 AM
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.
Tags
Scheduler
Asked by
MUHAMMAD AIMAN
Top achievements
Rank 1
Answers by
Vladimir Iliev
Telerik team
Salim
Top achievements
Rank 1
Boyan Dimitrov
Telerik team
Share this question
or