There seems to be a problem with the column creation, when the ItemsSource is empty when the GridView is loaded.
My scenario is simlar to the xaml-sdk-master\GridView\BindingToICustomTypeDescriptor sample. But it can happen, that the ItemsSource contains no items, when the grid is loaded. When the items arrive later, the columns are not build up correctly.
- When AutoGenerateColumns is used, no columns will appear.
- When I create the columns in code (AutoGenerateColumns is set to false and GridViewDataColumns are created and added before the grid is loaded) the columns are shown and the data is displayed, but I am not able to sort or filter the data.
Only when at least one item exits in the ItemsSource when the Grid becomes visible, the grid works as expected. Is there something I have to do, when the first item is available?