Hi Ivo. Thanks for your answer.
It's very closed to what I need. The only problem is about dates sorting. Sometimes, when changing groups filter, date are not correctly sorted. Let's suppose the nex example:
I have three agenda for Doctor A, Doctor B and Doctor C. Doctor A only works Mondays from 8:00 AM to 2:00 PM. Doctor B only works Tuesdays from 8:00 AM to 2:00 PM too and, finally, Doctor C only works Thursdays from 8:00 AM to 2:00 PM.
Firstly, the only selected agenda is the Doctor A's. So, my GroupFilter implementation only allows Monday dates. If then users selects to view Doctor A and Doctor C agendas, only Mondays and Thursday dates are visible. Finally, users selects to view all agendas, so only Mondays, Tuesdays and Thursdays are visible. That's great except that Thursdays appear before Tuesday, the appearance order, in this case, is Monday, Thursday and finally Tuesday. I've tried to sort the Appintments source by Start date with no success.
Any Idea?
Another issue related to group filters. I have set the ScheduleView GroupDescriptionsSource as follows:
So first group is a DateGroupDescription and second Group is ResourceGroupDescription where Resource Type is the Agenda (doctor's id).
With this setting, for each visible date (those who passes the GroupFilter) I can see all the selected doctors agenda. In the above example, if Doctor A, Doctor B and Doctor C are selected I can see in the ScheduleView (with WeekView):
Monday
Doctor A
Doctor B
Doctor C
Tuesday
Doctor A
Doctor B
Doctor C
Thursday
Doctor A
Doctor B
Doctor C
I'd like to filter Doctor's group to only see the Doctor's Group in days when doctor's agenda is available, In my example that shuld be:
Monday
Doctor A
Tuesday
Doctor B
Thursday
Doctor C
Any Idea?