Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Horizontal Scrollbar is not visible on DataGridView

Tags:

I have a DataGridView on Window form which is populated with 30 columns and thousands of rows. ScrollBars property is set to Both, but still horizontal scroll bar is not visible. even I am unable to scroll with arrow key from keyboard.

I tried it by setting ScrollBars property to Horizontal as well, but that does not make any difference.

Any suggestions please?

Thanks

like image 983
Scorpion Avatar asked Mar 07 '11 10:03

Scorpion


People also ask

How to add horizontal scrollbar in DataGridView?

Set the grid's ScrollBars property to "Horizontal" or "Both". It will appear when necessary. It is set to Both but still only Vertical is present.


1 Answers

Well Guys, its sorted out.

I am answering my own question; it may help someone in future.

one of the columns has Frozen property set as True. which should be false for all columns. Now ScrollBar is working absolutely fine for me.

Cheers

enter image description here

like image 124
Scorpion Avatar answered Sep 20 '22 12:09

Scorpion