This question is locked. New answers and comments are not allowed.
Hi,
I'm having a problem databinding within a GridViewDataColumn Template. Here is the situation.
I have an Employee Class which has a list of SheduleActivities. This activity is like an appointment in outlook (startdate, endate, ...)
To display the activities of an Employee in the grid I made a SheduleWeek class, which has the properties Monday, Tuesday, .. of the type SheduleActivity. I first get the needed employees, create the SheduleWeeks with the employees and use the list of SheduleWeek as my ItemsSource.
| var itemsSource = medewerkers.Select(o => new SheduleWeek(o)).ToList(); |
| planningGrd.ItemsSource = itemsSource; |