Announcement

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

    #16
    We've added a new API, Calendar.getDateFromPoint(Integer x, Integer y, Boolean snapOffsets).

    If called with no parameters, it will return the snap-date closest to the point of the last mouse-event.

    So, in your case, just add this code:

    Code:
    newEvent.setStartDate(sl.timeline.getDateFromPoint());
    These changes will hit nightly builds from August 5

    Comment


      #17
      Done

      Smart GWT 4.0p (SmartClient Version: v9.0p_2013-08-05/PowerEdition Deployment (built 2013-08-05))

      Thank you. It is working!

      Comment

      Working...
      X