Hello,
I have a custom framework with a base ClientEntity object.
When I supply a xamDataGrid with a datasource of List of 10 ClientEntity objects , there are just 10 blank rows with as much columns as I defined (if autogeneratecolumns = true, just a lot of blanks columns).
The code works with a different object (just some random test object) - so the problem is probably in the ClientEntity, which implements a lot of PropertyDescriptor logic and such.
What could be the problem here? how does XamDataGrid attempt to fill it's cell values?
In runtime, the DataItem for each DataRecord is correct and contains the real entity, but the Cell.Value is always null.
Thank you.
To add to this, if the object you are assigning or binding to the XamDataGrid DataSource implements IEnumerable then the data will display. If not, you will need to create a DataSet or a collection from the entity objects and assign that to the grid.
Thank you,
It's hard to guess what's the problem with your FieldLayout definition.
Attach a sample that uses your ClientEntity if you still need help.