Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    timeline - drag & drop + sizing issue

    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

    #2
    1/2) We see the issue with unwanted overflow on the grid body that causes the scrollbar and we'll address that - is that your only point here, that there should be no scrollbar? or are you expecting something else to happen when you drag an event to the end of this fixed-size timeline?

    3) eventSnapGap: 60, see the docs

    4) fixed, for move and resize

    The changes will hit nightly builds within a day or so and we'll update this thread when they do

    Comment


      #3
      Thanks for your reply
      About 1/2 -
      We inspect no scrolllbar and as the max. number of days (by using calEnd) is set to 7, we inspect not to be able to drop and event behind the last defined date - or at least a property for setting this behavior

      Comment


        #4
        That's as we thought - the changes will be in today

        Comment

        Working...
        X