DataGridIssue
DataGridIssue

Reputation: 21

WPF DataGrid Row Issue

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

Answers (1)

Kugel
Kugel

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

Related Questions