Quantcast
Channel: Windows Forms Data Controls and Databinding forum
Viewing all articles
Browse latest Browse all 2535

DataGridView : ScrollBars not showing

$
0
0

Hi all.

  I have a WinForms application. It is c#, .NET 2.0. On a form, I have 3 DataGridView controls. They all have their ScrollBars property set to Both. The scroll bars for the first two grids work ok, the third grid never shows them. There is absolutely no difference in the definition of the grids. The only difference is that the 3rd gird is wider. So far, I've tried to:

- set the AutoSizeMode property of the columns to different values, did not work.

- set the AutoSizeColumnsMode of the grid, it did not work.

- changed the size of the grid, it did not work(originally it was wider than the form. Making it smaller did not work).

 

Does anybody know what I can do to get the 3rd grid to show the scrollbars ?

Thanks in advance for your help,

 

EM

 


Viewing all articles
Browse latest Browse all 2535

Trending Articles