Replies: 1 comment 2 replies
-
I struggled with the same problem initially. What I wanted was the ability to toggle datagrid grouping on and off in the UI via a checkbox. So in the OnIsCheckedChanged handler for that, I get the DataGrid's DataGridCollectionView instead of creating one:
I believe you could do something similar in regards to the DataGrid Initialized event (or whichever event leaves the CollectionView in a valid non-null state). |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I've a
DataGrid
with groups which I setItemSource
to a instance ofDataGridCollectionView
:However, I'm not able to use CompiledBindings anymore since the type is now
DataGridCollectionView
instead ofObservableDictionary<string, NameValueGroup>
. Using ReflectionBinding works... How can I enforce the bindings type to the correct type?Beta Was this translation helpful? Give feedback.
All reactions