Hi,
I am encountering performance problems with the daylane view with 29 lanes and 3 events on a day. Navigating to a day with this amount of events is sluggish and slow.
I tested the same in the timelineview and there it seemed that the events where rendered when scrolling through the lanes, the timelineview rendered the example code below in a much faster/better way.
In the daylaneview it seems that events are not rendered on demand. This has a large performance impact it seems.
Why does the daylaneview not also support renderondemand? Or does it do this somehow already using a different property?
Are there other properties which I can set or unset to get a better performance on the daylaneview (maybe related to overlap or anything else).
gr. Martin
Here is some code to try out to see the performance I mean:
	
							
						
					I am encountering performance problems with the daylane view with 29 lanes and 3 events on a day. Navigating to a day with this amount of events is sluggish and slow.
I tested the same in the timelineview and there it seemed that the events where rendered when scrolling through the lanes, the timelineview rendered the example code below in a much faster/better way.
In the daylaneview it seems that events are not rendered on demand. This has a large performance impact it seems.
Why does the daylaneview not also support renderondemand? Or does it do this somehow already using a different property?
Are there other properties which I can set or unset to get a better performance on the daylaneview (maybe related to overlap or anything else).
gr. Martin
Here is some code to try out to see the performance I mean:
Code:
	
	
var lanes = [
    { name: "charlesMadigen", title: "Charles Madigen", width: 200 },
    { name: "tamaraKane", title: "Tamara Kane", width: 200 },
    { name: "darcyFeeney", title: "Darcy Feeney", width: 200 },
    { name: "kaiKong", title: "Kai Kong", width: 200 },
    { name: "charlesMadigen1", title: "Charles Madigen1", width: 200 },
    { name: "tamaraKane1", title: "Tamara Kane", width: 200 },
    { name: "darcyFeeney1", title: "Darcy Feeney", width: 200 },
    { name: "kaiKong1", title: "Kai Kong", width: 200 },
    { name: "charlesMadigen2", title: "Charles Madigen", width: 200 },
    { name: "tamaraKane2", title: "Tamara Kane", width: 200 },
    { name: "darcyFeeney2", title: "Darcy Feeney", width: 200 },
    { name: "kaiKong2", title: "Kai Kong", width: 200 },
    { name: "charlesMadigen3", title: "Charles Madigen", width: 200 },
    { name: "tamaraKane3", title: "Tamara Kane", width: 200 },
    { name: "darcyFeeney3", title: "Darcy Feeney", width: 200 },
    { name: "kaiKong3", title: "Kai Kong", width: 200 },
    { name: "charlesMadigen4", title: "Charles Madigen", width: 200 },
    { name: "tamaraKane4", title: "Tamara Kane", width: 200 },
    { name: "darcyFeeney4", title: "Darcy Feeney", width: 200 },
    { name: "kaiKong4", title: "Kai Kong", width: 200 },
    { name: "charlesMadigen5", title: "Charles Madigen", width: 200 },
    { name: "tamaraKane5", title: "Tamara Kane", width: 200 },
    { name: "darcyFeeney5", title: "Darcy Feeney", width: 200 },
    { name: "kaiKong5", title: "Kai Kong", width: 200 },
    { name: "charlesMadigen6", title: "Charles Madigen", width: 200 },
    { name: "tamaraKane6", title: "Tamara Kane", width: 200 },
    { name: "darcyFeeney6", title: "Darcy Feeney", width: 200 },
    { name: "kaiKong6", title: "Kai Kong", width: 200 },
    { name: "shellyFewel", title: "Shelly Fewel", width: 200 }
];
var _today = new Date();
var y = _today.getFullYear();
var m = _today.getMonth();
var d = _today.getDate();
var dayLaneData = [];
for (var i = 0; i < 1; i++) {
var day = d + (i%10);
for (var j = 0; j < lanes.length; j++) {
  dayLaneData.add({
	eventId: i,
	startDate: new Date(y, m, day, 7, 0), 
	endDate: new Date(y, m, day, 8, 0), 
	name: "Development Meeting " + i,
    description: "Development meeting " + i,
	lane: lanes[j].name
});
  dayLaneData.add({
	eventId: i,
	startDate: new Date(y, m, day, 12, 0), 
	endDate: new Date(y, m, day, 13, 0), 
	name: "Development Meeting " + i,
    description: "Development meeting " + i,
	lane: lanes[j].name
});
  dayLaneData.add({
	eventId: i,
	startDate: new Date(y, m, day, 14, 0), 
	endDate: new Date(y, m, day, 15, 0), 
	name: "Development Meeting " + i,
    description: "Development meeting " + i,
	lane: lanes[j].name
});
}
}
isc.Calendar.create({
    ID: "calendar", 
    data: dayLaneData,
    lanes: lanes,
    showWeekView: false,
    showMonthView: false,
    showTimelineView: false,
    chosenDate: new Date(),
    showDayLanes: true,
    canEditLane: true
    
});

Comment