Datagrid View Scroll Bar Errors

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?
 
N

Noah P.

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top