I'm currently in the process of attempting to figure out the best way to fill out my data grid columns. The grid would be displayed like this where the headings represent the days of the month and the rows represent a grouping of some sort.
1 | 2 | 3 | 4
Foo 0 5 1 3
Bar 1 1 0 3
Foo2 3 9 7 6
Bar2 9 8 6 5
This would mean that on day 1 (of whatever month) that there were 9 of Bar2. I already have all of the data sorted and ready to go. However, I can't figure out a good way to dynamically add the days of the month as columns. I added how to do this using a binding because all of the data is in my view model and I don't really intend on adding columns using the code behind (unless absolutely necessary, of course).
Also, this does not need to use a data grid as this report is purely used for statistics and will never be modified.
I will also consider accepting an answer that offers an alternative to using a data grid.