Hello!
I'm using a datagrid bound to an observable collection with AutoGenerateColumns mode.
I found bug. Description is here:
1) DataGrid bounded to object with 5 properties, so datagrid will have 5 columns.
2) When i start apllication, I set 4 columns to true, 1 last column to false.
3) I open ColumnChooser and set last column visible check box to True. It is ok. Instantly last column will be appeared in the table.
4) Problem is here: If I click some column to header and sorting method will be called -> my datagrid will be sorted but last column will disapper. And if I open columChooser i will see that CheckBox of last column is uncheched. As result I get sorted grid without all columns, which I add by columnChooser.
I don't know how to fix this. Can you help me with that ?
I attached sample project with this issue. Link: https://dropmefiles.com/ihHqU
Thank you,
Petr