Posted 9 September 2017, 8:22 am ESTHi,
is it possible to data bind to a data source with an at compile time unknown number of columns?
My data source results from a pivot query so the number of columns depends on the data. I have a collection [rows] of collections [columns] of values and want to use pure MVVM without code-behind.
I saw that the columns can be defined in XAML and I think that can be done in code, too. But I can't do that in a ViewModel as I have no reference to the grid.
Can the Columns collection be bound, too? Didn't find a way.