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
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.
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
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With