Replies: 2 comments 1 reply
-
I have done this by binding the width property, i do this by c# code
|
Beta Was this translation helpful? Give feedback.
1 reply
-
Yes the second grid is sync with the first datagrid, but it is not bidirectionally. |
Beta Was this translation helpful? Give feedback.
0 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 got two DataGrids, one above the other, and I'd like the column widths to be synchronized (currently they're virtualized and all Auto width, and adjust size as new items are scrolled into view).
As an attempt, I tried making
DataGridTemplateColumn
s which containedGrid
s with oneColumnDefinition
where the SharedSizeGroup was set per-column, but it didn't push the sizing to the other DataGrid (I had Grid.IsSharedSizeGroup set at a higher level.Beta Was this translation helpful? Give feedback.
All reactions