473,383 Members | 1,980 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,383 software developers and data experts.

DataGrid scroll bars disappeared after the grid is filled

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.
Nov 21 '05 #1
1 3536
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
-----------------
"Robert G" <no@nono.no> wrote in message
news:e0**************@TK2MSFTNGP12.phx.gbl...
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.

Nov 21 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Bill Sonia | last post by:
It seems whenever I set a DataGrid.DataSource = DataTable (vb.net) to populate a datagrid, the scroll bars on the datagrid default to disabled. And the only way I can get them to enable is to...
1
by: john sutor | last post by:
Does anyone know if you can display vertical scroll or horizontal scroll bars on the datagrid ???
2
by: Dmitri Shvetsov | last post by:
Hi, Did somebody hear is it possible to scroll a very long DataGrid on the WebForm in a separate subwindow or somehow else? I have a very long DataGrid but I don't want to break it into many...
0
by: Amalorpavanathan Yagulasamy(AMAL) | last post by:
I have a situation like A Winform application is having a DataGrid with 1000 rows. Both vertical and horizontal scroll bars are enabled. DataGrid page size is 10 I change the values in 2nd row and...
1
by: VM | last post by:
Initially, I had created my Windows application so that my datagrid's source would be updated once the method that filled the table was finished: private void btn_run_Click(object sender,...
2
by: Sam | last post by:
hi folks, 1. how to set column width in datagrid server control? 2. how to set row height in datagrid server control? 3. how to display scroll bar in datagrid server control? thanks,
0
by: memanwar | last post by:
Throughout our system we use the DataGrid. One problem we've noticed is that the arrow buttons don't always work with our grids, clicking on them sometimes won't move the columns at all, or may...
3
by: Hugh Janus | last post by:
Hi, I have a datagrid that is not showing a vertical scrollbar even though it has more rows than displayed. I cannot find the property to set this, so after googling, i found this link: ...
2
by: axapta | last post by:
Hi Group, I seem to be getting horizontal and vertical scroll bars in my datagrid. Where are the settings/what can I do so that the datagrid is fixed and does not grow with the data horizontally...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.