Datagrid View Scroll Bar Errors

  • Thread starter Thread starter Keht
  • Start date Start date
K

Keht

I have a datagridview object. When I load the form I populate the grid
with records from a datatable. At this time the grid has rows and
scroll bars. I then reset the datatable adding different records and
applying it to the grid. When I do this the scroll bars on the grid are
grayed out as if they were disabled. But when i go into a cell and
press the down arrow there are additional rows that should be viewable
if there was scroll bars. I have tried .Refresh() with no luck. How do
I fix this?
 
Hey Keht,
Have you found a solution to this problem? I'm having the same issue. I've
tried manual enabling the scrollbars using

DataGridView.Controls[0].Enabled = true;
DataGridView.Controls[1].Enabled = true;

but this did not work. I've also tried .Refresh(), .Show(), and .ScrollBars
= ScrollBars.Both;

No dice.

Noah P.
 
Back
Top