Smart Clinent Version: 9.0
Browser: Firefox Verion 21.0
Hello,
the problem is:
The printPreview shows the appointments in the wrong columns (see demo).
Kind regards
Paul
Demo:(modified version of your demonstration
http://www.smartclient.com/#databoundTimeline
)
var developers = [
{ name: "charlesMadigen", title: "Charles Madigen" },
{ name: "tamaraKane", title: "Tamara Kane" },
{ name: "darcyFeeney", title: "Darcy Feeney" },
{ name: "kaiKong", title: "Kai Kong" },
{ name: "shellyFewel", title: "Shelly Fewel" },
{ name: "garretMonroe", title: "Garret Monroe" }
];
var _calStart = isc.DateUtil.getStartOf(new Date(2012, 6, 5), "W");
var _calEnd = _calStart.duplicate();
_calEnd.setDate(_calEnd.getDate() + 20);
isc.Timeline.create({
ID: "timeline",
height: 451,
//autoDraw: false,
startDate: _calStart,
endDate: _calEnd,
dataSource: tasks,
autoFetchData: true,
lanes: developers,
headerLevels: [ { unit: "week" }, { unit: "day" } ],
canResizeTimelineEvents: true,
canEditLane: true,
showEventDescriptions: false,
labelColumnWidth: 120
});
isc.VLayout.create({
membersMargin: 5,
width: "99%",
ID: "printButtonLayout", members: [
timeline,
isc.IButton.create({
autoDraw: false,
title: "Print Preview",
click: "isc.Canvas.showPrintPreview(timeline)"
})
]
});
Browser: Firefox Verion 21.0
Hello,
the problem is:
The printPreview shows the appointments in the wrong columns (see demo).
Kind regards
Paul
Demo:(modified version of your demonstration
http://www.smartclient.com/#databoundTimeline
)
var developers = [
{ name: "charlesMadigen", title: "Charles Madigen" },
{ name: "tamaraKane", title: "Tamara Kane" },
{ name: "darcyFeeney", title: "Darcy Feeney" },
{ name: "kaiKong", title: "Kai Kong" },
{ name: "shellyFewel", title: "Shelly Fewel" },
{ name: "garretMonroe", title: "Garret Monroe" }
];
var _calStart = isc.DateUtil.getStartOf(new Date(2012, 6, 5), "W");
var _calEnd = _calStart.duplicate();
_calEnd.setDate(_calEnd.getDate() + 20);
isc.Timeline.create({
ID: "timeline",
height: 451,
//autoDraw: false,
startDate: _calStart,
endDate: _calEnd,
dataSource: tasks,
autoFetchData: true,
lanes: developers,
headerLevels: [ { unit: "week" }, { unit: "day" } ],
canResizeTimelineEvents: true,
canEditLane: true,
showEventDescriptions: false,
labelColumnWidth: 120
});
isc.VLayout.create({
membersMargin: 5,
width: "99%",
ID: "printButtonLayout", members: [
timeline,
isc.IButton.create({
autoDraw: false,
title: "Print Preview",
click: "isc.Canvas.showPrintPreview(timeline)"
})
]
});
Comment