user997112
user997112

Reputation: 30615

C# minimise width of DataGridLayout columns?

Is there a way to set the width of DataGridView columns to the width of the header text label?

Upvotes: 0

Views: 29

Answers (1)

Martín Misol
Martín Misol

Reputation: 333

Setting AutoSizeColumnsMode to ColumnHeader should be what you are looking for. Link

Upvotes: 1

Related Questions