DataGrid scroll bars disappeared after the grid is filled

R

Robert G

I'm using VB .net 2003. I have a grid where everything is working fine
except when after the grid is filled with records (by setting the data
source to a data view),
both the horizontal and vertical scroll bars just won;t show up, eventhough
the record numbers and columns are well exceeded the area.

If I minimized and maximized the main form again, then the scroll bars will
show up. What's wrong? Is there a work around for this?

Thanks.
 
K

Ken Tucker [MVP]

Hi,

I usually resize the grid to overcome that problem. I make the grid
size one pixel smaller than resize it to its orginal size.

Ken
-----------------
I'm using VB .net 2003. I have a grid where everything is working fine
except when after the grid is filled with records (by setting the data
source to a data view),
both the horizontal and vertical scroll bars just won;t show up, eventhough
the record numbers and columns are well exceeded the area.

If I minimized and maximized the main form again, then the scroll bars will
show up. What's wrong? Is there a work around for this?

Thanks.
 

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