Few questions/problems with the Timeline component:
1. Is there a way to set startDate and endDate dynamically for the Timeline views? I can't seem to find any setStartDate/setEndDate APIs. Do I need to destroy and re-create the entire component each time the start/end dates change?
2. Also, showPrintPreview() doesn't work correctly with Timelines.
The following displays the calendar but without any events.
The same works fine with regular calendar views.
3. And the commented out headerLevels don't show any events, only the first two work. The events duration spans from days to 2-3 months.
4. getPrintHTML() for calendars seems to be returning null (irrespective of the view selected).
SmartClient_v83p_2012-12-19_Pro
Firefox 9 and 15.
Google Chrome 23.0.1271.97 m
IE 8.0761
thanks,
- gene
1. Is there a way to set startDate and endDate dynamically for the Timeline views? I can't seem to find any setStartDate/setEndDate APIs. Do I need to destroy and re-create the entire component each time the start/end dates change?
2. Also, showPrintPreview() doesn't work correctly with Timelines.
The following displays the calendar but without any events.
Code:
isc.Timeline.create({ ID:"timeLineView", height:"100%",width:"100%", startDate: _calStart, endDate: _calEnd, lanes: pLanes, // headerLevels: [ { unit: "week" }, { unit: "day" } ], //working headerLevels: [ { unit: "month" }, { unit: "day" } ], //working //headerLevels: [ { unit: "year" }, { unit: "month" } ], // headerLevels: [ { unit: "month" }, { unit: "week" } ], // headerLevels: [ { unit: "week" } ], canResizeTimelineEvents: true, showEventDescriptions: false, labelColumnWidth: 120 }); isc.IButton.create({ width:"180",title:"Preview", click:"isc.Canvas.showPrintPreview(timeLineView,{},{dismissOnEscape:true,width:'69%',height:'90%',autoCenter:true})" })
3. And the commented out headerLevels don't show any events, only the first two work. The events duration spans from days to 2-3 months.
4. getPrintHTML() for calendars seems to be returning null (irrespective of the view selected).
SmartClient_v83p_2012-12-19_Pro
Firefox 9 and 15.
Google Chrome 23.0.1271.97 m
IE 8.0761
thanks,
- gene
Comment