Hello,
I have a need to set up grouping by both a person's name and what location they work at.
The end result of what i am attempting to do is to have it selectable what person(s) and what location(s) you want to select and then show them on the grid, the catch is that some people only work in 1 location while some work in many.
For example if we have Person A, Person B, Person C. Person A works at Location 1, Location 2, Location 3; Person B works at Location 2, and Person C works at Location 3.
so the grid header would look something like:
Person A Person B Person C
Location 1 Location 2 Location3 Location 2 Location 3
I would have 5 columns total, i have tried adding these as ResourceGroupDescription's in a GroupDescriptionCollection to the ScheduleView.GroupDescriptionsSource, and the resources to the ResourceTypesSource, but when i run it i end up with 9 columns, it makes a location1, 2 and 3 for each Person.
So can anyone tell me the correct way to make it only have the 5 correct columns instead of all 9? Thank you.
I have a need to set up grouping by both a person's name and what location they work at.
The end result of what i am attempting to do is to have it selectable what person(s) and what location(s) you want to select and then show them on the grid, the catch is that some people only work in 1 location while some work in many.
For example if we have Person A, Person B, Person C. Person A works at Location 1, Location 2, Location 3; Person B works at Location 2, and Person C works at Location 3.
so the grid header would look something like:
Person A Person B Person C
Location 1 Location 2 Location3 Location 2 Location 3
I would have 5 columns total, i have tried adding these as ResourceGroupDescription's in a GroupDescriptionCollection to the ScheduleView.GroupDescriptionsSource, and the resources to the ResourceTypesSource, but when i run it i end up with 9 columns, it makes a location1, 2 and 3 for each Person.
So can anyone tell me the correct way to make it only have the 5 correct columns instead of all 9? Thank you.