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

Prevent multiple appointments on same row

20 Answers 165 Views
ScheduleView
This is a migrated thread and some comments may be shown as answers.
Håkan
Top achievements
Rank 1
Håkan asked on 03 Jun 2011, 12:01 PM
Hi,

Is there anyway I can prevent the DayView to show multiple events on the same row?
I have my DayView horizontally oriented and I want all appointments to be displayed one by one below each other, sorted by their start time.

Regards,
Håkan

20 Answers, 1 is accepted

Sort by
0
Valeri Hristov
Telerik team
answered on 07 Jun 2011, 02:42 PM
Hello Håkan,

This functionality is not available yet. We are doing our best to include it for Q2 2011. It will not be available in the beta version next week, though.

Best wishes,
Valeri Hristov
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Håkan
Top achievements
Rank 1
answered on 22 Aug 2011, 12:53 PM
Hi,

What about this functionality, was it included in the Q2 release?

Regards,
Håkan
0
Valeri Hristov
Telerik team
answered on 22 Aug 2011, 03:25 PM
Hi Håkan,

I am afraid we didn't managed to include the requested functionality in Q2 2011 and I cannot currently say if it will enter in Q3 in November.

Regards,
Valeri Hristov
the Telerik team

Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward! We'd appreciate your vote for Telerik in this year's DevProConnections Awards. We are competing in mind-blowing 20 categories and every vote counts! VOTE for Telerik NOW >>

0
Håkan
Top achievements
Rank 1
answered on 22 Aug 2011, 03:35 PM
Oh, thats a pity :-(
It's a big issue for our customers...
They use it to schedule hundreds of workers in a grocery store and quickly need to get a clear overview.
But when several appointments are stacked on a row, it gets very difficult to get a smooth view.

Regards,
Håkan
0
Håkan
Top achievements
Rank 1
answered on 23 Nov 2011, 01:52 PM
Hi,

What about this functionality, was it included in the Q3 release?

Regards,
Håkan
0
Valeri Hristov
Telerik team
answered on 25 Nov 2011, 03:33 PM

Hello Håkan,

Unfortunately we didn't managed to finish this functionality on time and it didn't enter the Q3 release. It is present, because MonthView is using it, but there is no public API to enable it on other view definitions yet. The good news is that we decided to finalize the API and to include it in one of the upcoming internal builds and SP1 (it does not have a date yet).

All the best,

Valeri Hristov
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

0
Håkan
Top achievements
Rank 1
answered on 27 Feb 2012, 11:16 AM
Hi,

What about requested functionality, did it make it into the 2012 Q1 Release?
We have a large customer with over 200 users that will begin to use our new scheduling functionality within two weeks.
And they don't like how it looks today, at all.
It's very messy to schedule over 200 employees when the appointments are mixed up as today.

Regards,
Håkan
0
Rosi
Telerik team
answered on 01 Mar 2012, 10:51 AM
Hello Hakan,

There is no changes of the way DayView displays appointments. However I suggest you send us a screenshot how you need to display appointments and we will think of a way how to implement it with the current features that RadScheduleView supports.

Greetings,
Rosi
the Telerik team
Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
0
Håkan
Top achievements
Rank 1
answered on 01 Mar 2012, 11:19 AM
Hi Rosi!

See attached image for how the scheduleview currently displays appointments for one day.
We use the timeline view for this.

As you can se, it will place multiple appointments on the same horizontal row.
We would like it to only display one single appointment on each row.
Every appoinment should be placed on its own row, sorted by start time.

We show more than one hundred appointments on a single day spanning from early morning to late night, and sometimes even over midninght.
And we just want to scroll down to get later and later appointments.
As you can se, currently an appointment starting in late afternoon is displayed on the first line together with the first morning appointment.
It is very hard to get a good overview of the day in this view.

Regards,
Håkan
0
Rosi
Telerik team
answered on 01 Mar 2012, 03:58 PM
Hi,

Thank you for the image.

This feature is not possible with day or timeLine views. I suggest you try using MonthViewDefinition instead with setting its VisibleDays property to 7.
<telerik:MonthViewDefinition  VisibleDays="7" />


Let us known whether this helps.

All the best,
Rosi
the Telerik team
Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
0
Håkan
Top achievements
Rank 1
answered on 01 Mar 2012, 04:58 PM
Hi,

I can't use month view with 7 days.
I need to display only 24 hours, exactly as in the timeline view shown in my image.

Regards,
Håkan
0
Rosi
Telerik team
answered on 02 Mar 2012, 10:42 AM
Hi there, 

At this stage a similar behavior can be achieved only with the workarounds I already provided within this thread. The feature does not come out-of-the-box. As promised in the other threads, we’re considering your request, however, we started a major undertaking several months ago and we had to relocate the resources for that new initiative – the GanttView control. This being said, I cannot give you a certain time frame on when we’ll be able to provide this feature. As soon as we can allocate resources and time for it we’ll announce it in the public roadmap.

Regards,
Rosi
the Telerik team
Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
0
Håkan
Top achievements
Rank 1
answered on 05 Nov 2012, 08:06 AM
Hi,

Has there been any development in this area since spring?

If there is no way to prevent multiple appointments on the same line, is there instead anyway I can keep two or more appointments together?
So if the same employee (resource) has two appointments (working shifts) on the same day, they will be on the same row?

As said before, this is a huge problem for our customers that shows a working day for over 200 employees with several different shifts on one day.

Regards,
Håkan
0
Miroslav Nedyalkov
Telerik team
answered on 08 Nov 2012, 08:38 AM
Hello Håkan,

As your feature request is not a hundred percent clear for me I would kindly ask you to provide us with more information about what you need to achieve - a screenshot of the desired rendering with some notes what is the logic of this rendering would be great. If we have a clear understanding what you need we will be able to either find a way to achieve it or to log it as a feature request and consider implementing it in future.

All the best,
Miroslav Nedyalkov
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

0
Håkan
Top achievements
Rank 1
answered on 08 Nov 2012, 09:56 AM
Hello Miroslav!

I have tried to explain it before in this thread, but lets do a conclusion of our problems and requests here:

We have a scheduling application and use several views in the Scheduler component. (Month, Week, Day)
In the dayview we have a big problem when it comes to our larger customers with many employees.
For example a grocery store with over 200 employees. The administrators look in the day view to see their staff and their schedules.

As you can see in the attached image there are sometimes multiple appointments (shifts) on each row.
I guess the scheduler place them on the same row to use the space better?

We would like to have only one appointment on each row sorted by its start time.
Because when the administrators scrolls down they want to se later and later appointments, but suddenly they have to scroll up again to se the rest, and that makes it very difficult to get a clear overview when there are hundreds of shifts in one day.
See second attachment for an example of a messy view.
-------------------
Our second request is to keep multiple appointments together on the same row.
I know this sounds contradictory to our first problem but here is why:
Take for example a grocery store again. They have many different "departments", like cachier, fruit, bread, meet, administration, customer service and so on. That is the different colors you see on the appointments (using categories).

One employee (Resource) can for example work with bread in the morning and fruit in the afternoon. He will then have two different appointments on that day. It would be much clearer if those two appoinments would be on the same row, even though there might be a gap (a break) between the appoinments.
-------------------

If any of these two problems could be solved it would be a huge benefit for our customers.

Regards,
Håkan
0
Miroslav Nedyalkov
Telerik team
answered on 08 Nov 2012, 01:10 PM
Hello Håkan,

Thank you very much for your explanation - it makes it clear for me what you want to achieve. In my opinion you need to add Resource grouping the ScheduleView control and to group your appointments by the employee (namely the resource). This way you will receive both features - the appointments of the different people will be on different rows and the appointments of the sample people will be in the same row.

You could take a look at this example that demonstrates how to use the RadScheduleView control to show employee schedules in a similar way you need to do it. For more information how to use resource grouping, please refer to this help article.

Hope this helps.

Kind regards,
Miroslav Nedyalkov
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

0
Håkan
Top achievements
Rank 1
answered on 12 Nov 2012, 07:38 AM
Hi Miroslav!

I have now implemented resource grouping in the DayView as you suggestet. It basicly seems to work as expected, but I have three more issues that I hope you can help me with.

1. I would like to hide the groupheaders.
If you look at the attached image there is both a resource group header and a date group header.
I think I managed to hide the resource group header by defining an empty custom DataTemplate for it, but I can not find out how to hide the date header.
The best would be if the date group header would span over all resources. Otherwise I would prefer to hide it compleately. Now it takes up too much space. I want the appointments to be much tighter together.

2. Sorting. Now the appointments are sorted by resource name, I want them to be sorted by appoinment start time as default when not grouped.

3. All resources are now shown. Is there any way I can get it to only show the resources that has an appoinment?
I made one workaround and added a property to the resource that was set to true if an appoinment existed and bind the visibility property to it, but it takes a lot of performance, because I have to loop over all appoinments to set the flag.

Regards,
Håkan
0
Håkan
Top achievements
Rank 1
answered on 12 Nov 2012, 08:31 AM
Hi there.

I have managed fix my first problem by my self.
I added a DateGroupDescription before my ResourceGroupDescription, that made it group on date first, only displaying one date.

Problem 2 and 3 in my previous post still exist though.

Se new attached image for how it looks right now.

Regards,
Håkan
0
Accepted
Miroslav Nedyalkov
Telerik team
answered on 12 Nov 2012, 11:49 AM
Hi Håkan,

Here are the answers of the questions you asked:
1. The easiest way to hide the group headers is using the GroupHeaderStyleSelector property of the RadScheduleView control. This article give more details how to theme the group headers.

2. The approach I suggested to you groups the the appointments by their resource, but you could order the resources by the start time of their appointments. In this case you will need to know which appointments will be grouped in this resource.

3. The easiest way is to use the GroupFilter property of the ViewDefinition like demonstrated in this example. For this filter you will need to know what appointments are grouped in this resource like in 2.

I know that this is a time-consuming process, but you could optimize it, but updating this information only when the resource of an appointment is changed.

Hope this helps.

Greetings,
Miroslav Nedyalkov
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

0
Håkan
Top achievements
Rank 1
answered on 12 Nov 2012, 02:41 PM
Hi,

By adding only resources with existing appointments and in the correct order I managed to get both 2 and 3 to work as expected.

Telerik.Windows.Controls.CollectionExtensions.AddRange(employeeResourceType.Resources, Appointments.Select(a => a.Resources.First()).Distinct());

Now I only have some minor graphical tweaking to do.

Thank you very much for your help!
Now our customers will be very satisfied.

Regards,
Håkan

Tags
ScheduleView
Asked by
Håkan
Top achievements
Rank 1
Answers by
Valeri Hristov
Telerik team
Håkan
Top achievements
Rank 1
Rosi
Telerik team
Miroslav Nedyalkov
Telerik team
Share this question
or