Reputation: 21
I have a WPF datagrid bound to a collection object.
I'm facing a weird behavior that some times some row is pushed to right as a result , the entire row looks shifted to right , not sure when exactly it is happening but can see it many times.
Any help is appreciated.
Thanks,
Upvotes: 2
Views: 447
Reputation: 19814
It is connected to rendering Row headers. This only happens when
HeadersVisibility="Column"
is set.
For some ugly workarounds see these discussions:
HTH
Edit:
I just tried setting the folowing:
HeadersVisibility="All"
RowHeaderWidth="0"
and it seems to help to avoid the issue.
Upvotes: 1