Announcement

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

    Timeline drag outside of time

    In the showcase:
    http://www.smartclient.com/smartgwt/...bound_timeline
    If I drag any event to the left, and continue dragging to the left, the events change their start date to dates outside the date range shown. These are not always the same.
    Is this by design or is this a bug?
    Since you don't see days before the first day, you should not be able to drag events to days before the first in my opinion because it is undefined what will be the new start date.
    Analogous the end date.

    #2
    It's by design. You can't drag-*resize* an event beyond the range, but when you drag-*MOVE* an event, it's duration remains the same, with.start and end dates recalculated according to the new mouse position.

    This behavior isn't currently configurable.

    You can switch on drag-hovers if you want to see the target dates.

    Note that you could also install an EventRepositionMoveHandler, in which you could check the passed dates against the timeline range and return false as appropriate.
    Last edited by Isomorphic; 22 Aug 2016, 02:43.

    Comment

    Working...
    X