Occassionally, xamDataGrid does not create fields even though it has a valid FieldLayout. When this happens, the record selector arrow on the very first column show that records are present in the grid but then there are no columns. as shown in the attached image.
This is an intermittent issue so it will be hard to create a sample project, but I hope someone can help me understand what this condition exactly means.
Klaus,
I have not found any such issue being reported before.
Can you tell me more about your application? - like, how the grid is being renderred? what kind of data source? are you using MVVM patteren? are there any background thread operations? etc.,
Thank you,
Sam
Sam,
Data source is a custom collection that implements INotifyCollectionChanged. Yes, I am using MVVM and there is a background thread involved.
All I need to know is what exactly does that grid state mean.
If you are updating the data on a background thread, that may cuse this behavior. Make sure your updates are on a current UI thread.
Let me know if you what the actual scenario is, or if you have any question.
Sam. updates are being marshalled to the UI thread; framework will not allow updates to happen on background thread anyway as you will get an exception.
What does the scenario mean? It looks like the records have been created as indicated by selector arrow on left most column but then field layouts have not been created.
By "Scenario", I meant to ask whether your application was set up to do any updates in another thread. Since that's not the case as you already mentioned, It seems that we would need a reproducable sample to debug it.