Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Grouping Contacts (Read 3102 times)
GL@Olympus
YaBB Newbies
*
Offline


Too much work, too little
time, no doughnuts

Posts: 12
Joined: Jun 18th, 2011
Grouping Contacts
Jul 11th, 2011 at 3:36pm
Print Post  
Hi,

Does anyone have an example of how I might achieve the following in ResourceView, given that each name is a trainer in a given discipline:

+Discipline 1
trainer 1 item .... item.... item etc
trainer 2 .... item.... item etc

+Discipline 2
trainer 3 item .... item.... item etc
trainer 4 .... item.... item etc

+Discipline 3
trainer 5 item .... item.... item etc
trainer 6 .... item.... item etc

And also to have the Discipline 'Headers' collapse to hide different trainer groups

Possible?

Thanks in advance

Graham



  

If a man states a fact in the woods when there are no women present, is he still wrong?
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Grouping Contacts
Reply #1 - Jul 11th, 2011 at 4:59pm
Print Post  
Hi,

We don't have support for this yet in the WinForms version. I suppose you could implement it using a separate tree control placed on the left of the calendar and hiding resource rows when a tree branch is collapsed.

Stoyan
  
Back to top
 
IP Logged
 
GL@Olympus
YaBB Newbies
*
Offline


Too much work, too little
time, no doughnuts

Posts: 12
Joined: Jun 18th, 2011
Re: Grouping Contacts
Reply #2 - Jul 13th, 2011 at 8:33am
Print Post  
Hi Stoyan,

Thanks for the response.

Oh, well.... perhaps something for the wishlist? Smiley

In the meantime I will probably go with your suggestion although I was looking at other ways to filter resources. On that, it would be nice if your documentation explained the GroupType enumeration options a bit more clearly... I feel that 'FilterByContact' would be useful, but I can't see how to implement this?

Best Regards

Graham
  

If a man states a fact in the woods when there are no women present, is he still wrong?
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Grouping Contacts
Reply #3 - Jul 13th, 2011 at 10:12am
Print Post  
Hi Graham,

Perhaps Smiley

I'm not sure if the FilterBy option can be used in resource view - it always seems to work in GroupBy mode.

In other views that support filtering and grouping, GroupBy splits the view to show separate rows or columns for each item in the respective collection in the Calendar class (e.g. Calendar.Contacts), while FilterBy shows appointments mixed for all resources but hides ones whose resources are not listed in the collection.

If you need to hide a contact row from resource view, you can do that by removing the contact from Calendar.Contacts (you still keep it in Scedule.Contacts as a data item).

I hope that helps,
Stoyan
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint