Wednesday, 18 September 2013

C# Wpf Datagrid Horizontal Scrollbar Not Showing When Any Column Width="*"

C# Wpf Datagrid Horizontal Scrollbar Not Showing When Any Column Width="*"

All i want is, when i click any row on the datagrid, i want that row be
selected and change it's color.
But thanks to auto generated column on the right side, i cant select all
the row. Some space in right side stays unselected.
Because of this, i set last column's width to "*" and got rid of auto
generated column and i can select all the row.
But now, the last column always stays at screen, by the way i cant resize
other columns after some point.(horizontal scroll bar never appears)
How can i make datagrid not generating an extra column, and make all the
columns infinitely resizable?

No comments:

Post a Comment