OK... I have kindof a sepecialised case. I am getting log data back from a DB that has 5 static properties and then any number of variable properties. The class looks like this:
Prop 1, prop 2, prop 3, collection of properties 4-n... all possible properties are known.
Based on the type of log, properties 4-n will be different, again, all possible properties will be known.
The values of these properties will always be text.
binding properties 1-3 are easy... but is it possible to bind column values to items within a sub collection? for example, key="{Binding PropCollection.Prop4}"
Thanks in advance for any help
Marc
Hi Marc,
Currently, no, you won't have sorting, filtering or groupBy support for those columns, as they require a property on the data object, as we use linq to perform all of those operations.
However, this is something that we are actively looking into enabling.
-SteveZ
We are trying this solutions but we can't find the "MyDataObject", what is it for ?
Thank you
That just mock data.
You would replace that with your own data object.
Sorry but I don't understand, is it possible to have the full code of the example ?
Thank you very much
MyDataObject isn't real data. Its just some dummy data.
If you were bound to a collection of objects of type Customer, you would replace MyDataObject with Customer.
This was suggested as solution for someone, that needed to access a specific property on their data, which required it to be cast as that object.
I hope this clears things up.