This is a migrated thread and some comments may be shown as answers.

Can I allow users to reorder appointments(TimeLineView) via Drag and Drop?

3 Answers 43 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Edward
Top achievements
Rank 1
Edward asked on 07 Mar 2012, 05:21 AM
Currently when I click on an appointment to drag it it moves to cover the topmost appointment and goes semi-transparent.
After I have moved the cursor to the position I want the appointment to be in and released the mouse button it just jumps back to where it was before.
Is there any way to re-order items and save the order they were in?
Thanks,
Edward

3 Answers, 1 is accepted

Sort by
0
Ivana
Telerik team
answered on 09 Mar 2012, 03:15 PM
Hi Edward,

The Timeline View of RadScheduler is not supposed to allow the users to drag and drop appointments within the boundaries of one cell -- this is the case with all Views in RadScheduler. The users are allowed to drop appointment only in cells different than the one where the dragging was initiated.

If the appointments are not saved as "All Day"-appointments, they are ordered by time. If you want to order the appointments by subject or something else, the following help article contains references to examples showing how to achieve it: http://www.telerik.com/community/forums/aspnet-ajax/scheduler/timelineview-and-sorting.aspx#1450364.

I hope this helps.

Regards,
Ivana
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
0
Edward
Top achievements
Rank 1
answered on 12 Mar 2012, 10:35 PM
Could i not then give every appointment it's own row, and then have the appointment header over all of the rows?
Wouldn't that solve the problem of not being able to move between the same cell?
If I did that, would it be possible to implement the logic to make all of the appointments below where an appointment was being moved to move down a row?
Is it possible to create new cells every time I create an appointment?
Or at least leave one empty row at the bottom of all resource headers so it's easy to add new appointments in to new cells?
The best thing would be if a new cell could just be created/destroyed inbetween whichever two rows I am currently hovering hover, so that when I let go it inserts a new row and moves the appointment to that row.
This is a major feature for our product, as the appointments someone has are sequential, and we need to allow users to easily order them not by time(as you often run all appointments at once) but by which one you start on.
Worst come to worst, I could offset the top to bottom ones by a preset amount of ticks to make them order, and add/subtract ticks based on how far a user moves an appointment within a resource header.
0
Ivana
Telerik team
answered on 15 Mar 2012, 06:10 PM
Hello Edward,

This could be a nice feature but currently the Timeline view of RadScheduler does not support such customization. You could take a look at the other available views such as Day, Week, or Month view and see if some of them would fit your needs.

All the best,
Ivana
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Tags
Scheduler
Asked by
Edward
Top achievements
Rank 1
Answers by
Ivana
Telerik team
Edward
Top achievements
Rank 1
Share this question
or