Drag Drop From Grid Panel to Calendar Panel

  1. #1

    Drag Drop From Grid Panel to Calendar Panel

    Hello,
    I would like to know if i can drag drop record from a grid panel to a calendar panel.

    regards,Elie.
  2. #2
    Hello @eliea85!

    Sorry, I am afraid the calendar has no support for entries dropped from a grid panel. It does not mean it is impossible though. It means it would require a considerable effort to customize the calendar, just that the feature is not provided out-of-the-box.

    It would require to study the Calendar code and understand how it handles its internal events' dropping (events dropping that are already in a panel is supported) and then making specialized code for the drop. As grid panels are extremely flexible data-wise, I believe even with great support implementation, there will always be needs for specific behavior, as grid panels tend to have data specific to a scenario that will need to be "ported" to the calendar.

    The main things (calendar-wise) that must be understood and extended are:
    - how is set up a drop-target on the calendar, and how to bind arbitrary drag-sources to it
    - how to programmatically add calendar entries to the calendar panel.

    Once you can have the drag event trigger with the grid record, then you just need to bind the record relevant data to the calendar corresponding event (day on month view, day/hour in week view, or hour in day view).

    Hope this helps!
    Fabrício Murta
    Developer & Support Expert

Similar Threads

  1. Replies: 3
    Last Post: Mar 25, 2015, 3:52 PM
  2. [CLOSED] Enable/Disable drag and drop of grid panel.
    By aditya in forum 2.x Legacy Premium Help
    Replies: 2
    Last Post: Mar 26, 2014, 6:10 AM
  3. Replies: 4
    Last Post: Jul 19, 2013, 1:16 AM
  4. Replies: 0
    Last Post: Apr 02, 2013, 5:25 AM
  5. [CLOSED] Checkbox is not able uncheck in grid panel with drag and drop
    By rnachman in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: Jan 02, 2012, 6:13 AM

Posting Permissions