Martina
Martina

Reputation: 811

DatagridView does not show horizontal scrollbar

I'm using Visual Studio 2008. I have a DatagridView which contains four columns named "Visibility", "Tipe","Name","Info". All the column header texts are entirely visible but the texts inside the cells of the last column are not entirely visible. I want an horizontal scrollbar to see all these texts. The DatagridView is docked to fill to a panel and the property ScrollBars is set to Both. I see the vertical scrollbar but not the horizontal scrollbar. I've tryed to use this suggestion like this: ScrollBar in DataGridView or to set MinimumSize of the DatagridView but without getting any positive results.

Properties of my datagridview

How can I display the horizontal scrollbar? Thank you

Upvotes: 1

Views: 7654

Answers (3)

Leszek P
Leszek P

Reputation: 1866

Fill mode and frozen =false does not work for me. Set Fill to AllCells and frozen was defaulted set to false works (VS 2015).

Upvotes: 0

Dakshal Raijada
Dakshal Raijada

Reputation: 1261

One of the column must have a frozen property set to true, try setting it to false

Upvotes: 3

Nikewatch
Nikewatch

Reputation: 252

It may be that your Frozen column property is set to true. This was I believe an option in vs2008. This will stop the horizontal scrollbar from showing.

Upvotes: 1

Related Questions