LGPL version SmartClient build 29/05/2013
IE 9
With this modified sample :>
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() + 6);
isc.Timeline.create({
ID: "timeline",
height: 451,
width: 800,
startDate: _calStart,
endDate: _calEnd,
canAcceptDrop: true,
canEditEvents: true,
canDragEvents: true,
data: events,
lanes: developers,
headerLevels: [ { unit: "week" }, { unit: "day" } ],
canResizeTimelineEvents: true,
canEditLane: true,
showEventDescriptions: false,
labelColumnWidth: 120,
showControlsBar: false,
timelineEventPadding: 5,
timelineViewProperties: { leaveScrollbarGap: false, autoFitData: "both" }
});
Issues =>
1°) drag a drop further then day 7 - a scrollbar appears but can not reach the dropped item
2°) how to limit the drag behind day 7 ?
3°) how to limit drag to full day ? now it's possible to drop item on 1/2 day
4°) the drag box is not according the timelineEventPadding setting - for first cell it display the dragbox starting at 0,0 instead of 5,5
IE 9
With this modified sample :>
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() + 6);
isc.Timeline.create({
ID: "timeline",
height: 451,
width: 800,
startDate: _calStart,
endDate: _calEnd,
canAcceptDrop: true,
canEditEvents: true,
canDragEvents: true,
data: events,
lanes: developers,
headerLevels: [ { unit: "week" }, { unit: "day" } ],
canResizeTimelineEvents: true,
canEditLane: true,
showEventDescriptions: false,
labelColumnWidth: 120,
showControlsBar: false,
timelineEventPadding: 5,
timelineViewProperties: { leaveScrollbarGap: false, autoFitData: "both" }
});
Issues =>
1°) drag a drop further then day 7 - a scrollbar appears but can not reach the dropped item
2°) how to limit the drag behind day 7 ?
3°) how to limit drag to full day ? now it's possible to drop item on 1/2 day
4°) the drag box is not according the timelineEventPadding setting - for first cell it display the dragbox starting at 0,0 instead of 5,5
Comment