Completed
Last Updated: 31 Dec 2014 07:08 by ADMIN
ADMIN
Dess | Tech Support Engineer, Principal
Created on: 15 May 2014 15:52
Category: Scheduler/Reminder
Type: Bug Report
2
IMPROVE. RadScheduler performance in Timeline view with a lot of resources
To reproduce:
public Form1()
{
    InitializeComponent();
    List<string> resources = new List<string>();
    for (int index = 1; index <= 30; index++)
    {
        resources.Add("Resource" + index);
    }

    for (int i = 0; i <= resources.Count - 1; i++)
    {
        Resource resource = new Resource();
        resource.Id = new EventId(i);
        resource.Name = resources[i];
        this.RadSchedulerDemo.Resources.Add(resource);
    }

    this.RadSchedulerDemo.GroupType = GroupType.Resource;
    Appointment appointment = null;
    this.RadSchedulerDemo.ActiveViewType = SchedulerViewType.Timeline;
    TimelineGroupingByResourcesElement headerElement = this.RadSchedulerDemo.SchedulerElement.ViewElement as TimelineGroupingByResourcesElement;
    headerElement.ResourceHeaderWidth = 150;
    Random rand = new Random();

    for (int i = 0; i <= 99; i++)
    {
        appointment = new Appointment(DateTime.Now.AddHours(i), new TimeSpan(30), "Summary" + i, "Description" + i, "location" + i);
        appointment.ResourceId = this.RadSchedulerDemo.Resources[rand.Next(0, this.RadSchedulerDemo.Resources.Count)].Id;
        appointment.BackgroundId = Convert.ToInt32(this.RadSchedulerDemo.Backgrounds[rand.Next(0, this.RadSchedulerDemo.Backgrounds.Count)].Id);
        this.RadSchedulerDemo.Appointments.Add(appointment);
    }

    this.RadSchedulerDemo.GetTimelineView().ShowTimescale(Timescales.Hours);
    SchedulerTimescale timescale1 = this.RadSchedulerDemo.GetTimelineView().GetScaling();
    timescale1.DisplayedCellsCount = 30;
    this.RadSchedulerDemo.ActiveView.ResourcesPerView = 10;
}

Try to scroll to the last resource when you ResourcesPerView =2 and when ResourcesPerView =10. You will notice considerable difference in scrolling speed.
2 comments
ADMIN
Stefan
Posted on: 31 Dec 2014 07:08
Yes, this is what status Completed means. And this is available in Q2 2014.
SwiftPOS
Posted on: 11 Jun 2014 06:47
I see this status is set to completed

status
Completed


Does this mean it is fixed for the next build?

Cheers