This is a migrated thread and some comments may be shown as answers.
slotByElement method returns same slot for two different rows in ie11.
3 Answers 25 Views
This is a migrated thread and some comments may be shown as answers.
jantoine
Top achievements
Rank 1
jantoine asked on 10 Feb 2015, 08:01 PM
I have this code that loops through all row of the scheduler.
And about 1 in every 6 loops returns the same slot.
This has only been observed in ie11.

function scrollTo(calendar, time) {
    var scrollContainer = calendar.element.find(".k-scheduler-content");
    var table = scrollContainer.find(".k-scheduler-table")[0];
    var length = table.rows.length;
     
    for (var i = 0; i < length; i++) {
        var ri = table.rows[i];
        var slotTime = kendo.toString(calendar.slotByElement(ri).startDate, "h:mm tt");
 
        if (time == slotTime) {
            scrollContainer[0].scrollTop = ri.offsetTop
            return;
        }
    }
}

3 Answers, 1 is accepted

Sort by
0
Rosen
Telerik team
answered on 12 Feb 2015, 03:33 PM
Hi jantoine,

I'm afraid that I'm not able to tell what may be the cause for the issue you have described looking at the provided information nor able to re-create it locally. It will be appreciated if you could provide a small test page which shows the pasted code in action and in which the issue can be observed locally.

Regards,
Rosen
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
0
Ernesto Roque
Top achievements
Rank 1
answered on 16 Jun 2015, 02:16 PM
Having the same issue. I also noticed slotByElement is way slower in ie11 than other browsers.
0
Rosen
Telerik team
answered on 17 Jun 2015, 07:53 AM

Hello Ernesto,

We have recently addressed similar issue. Therefore, please download the latest internal build from your account and give it a try.

Regards,
Rosen
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
Asked by
jantoine
Top achievements
Rank 1
Answers by
Rosen
Telerik team
Ernesto Roque
Top achievements
Rank 1
Share this question
or