473,487 Members | 2,466 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Datagrid scrollbar

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:

http://www.syncfusion.com/FAQ/Window...44c.aspx#q876q

My problem is that I don't know how to use it! Could someone please
explain how to implement this in my code? The simpler the better!!

TIA
Hugh

May 27 '06 #1
3 8743
Hi,

Whenever I resize the rows in the datagrid I had that happen. To
overcome it try resizing the grid to get the scroll bars to show. I usually
reduce the grid size by one pixel then reset it to the orginal size.

Ken
------------------
"Hugh Janus" <my*************@hotmail.com> wrote in message
news:11**********************@i39g2000cwa.googlegr oups.com...
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:

http://www.syncfusion.com/FAQ/Window...44c.aspx#q876q

My problem is that I don't know how to use it! Could someone please
explain how to implement this in my code? The simpler the better!!

TIA
Hugh

May 28 '06 #2

Ken Tucker [MVP] wrote:
Hi,

Whenever I resize the rows in the datagrid I had that happen. To
overcome it try resizing the grid to get the scroll bars to show. I usually
reduce the grid size by one pixel then reset it to the orginal size.

Ken


Thanks Ken, but I have possibly hundreds (or maybe even thousands of
rows) so resizing them is not an option. Any idea on how to implement
that example to force the scrollbar for VB.NET 2003?

Hugh

May 28 '06 #3
Hugh,

The syncfusion code will create an control that inherits from
datagrid that allways shows the vertical scroll bar. You would need to
replace the datagrid with the new control.

Another option is resize the datagrid after you set its datasource to
force it to recalculate if the scroll bars are needed.

Ken
-----------------------

"Hugh Janus" wrote:

Ken Tucker [MVP] wrote:
Hi,

Whenever I resize the rows in the datagrid I had that happen. To
overcome it try resizing the grid to get the scroll bars to show. I usually
reduce the grid size by one pixel then reset it to the orginal size.

Ken


Thanks Ken, but I have possibly hundreds (or maybe even thousands of
rows) so resizing them is not an option. Any idea on how to implement
that example to force the scrollbar for VB.NET 2003?

Hugh

May 28 '06 #4

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

Similar topics

0
1647
by: Frnak McKenney | last post by:
I have a (small) multi-table database application which allows edits, print reports, and has two scrolling screen displays which show information merged from multiple tables. I'm having trouble...
0
1899
by: Shravan | last post by:
Hi, I have a custom datagrid extended from .Net datagrid, where I want vertical scrollbar to be visible always, for that I handled visiblechanged of VerticalScrollbar and making it visible...
1
2545
by: Julie | last post by:
I need to get the actual client area of the datagrid. DataGrid.ClientSize doesn't seem to take into account: borders and scrollbars (if visible). What I need is a way to get the visible width,...
3
5301
by: Hans [DiaGraphIT] | last post by:
how can I keep track of the first visble line in my datagrid when I drag the vertical scrollbar up or down? To clairfy my need... An example: I wish to set CurrentRowIndex to be the first...
0
1343
by: Karl | last post by:
Hi all, I have naive question about datagrid. When the total record number in datagrid is less than the datagrid row number, datagrid doesn't show the vertical scrollbar. Otherwise, it shows...
9
3927
by: web1110 | last post by:
Hi y'all, I have resized the columns in a DataGrid and I want to set the width of the DataGrid to fit the columns. Just summing the column widths is too short due to the grid and gray row...
1
7077
by: deepika | last post by:
Hi, I have a datagrid with 200 rows and an iframe adjacent to it. When I click on the row, the details of that row show up in the iframe. Now suppose I click on the 150th row, the postback occurs...
2
3299
by: Gene Hubert | last post by:
I'm assigning a new datasource (a datatable) to a datagrid that is aready displayed in a form. Then I assign a new value to CurrentRowIndex. The datagrid always scrolls so that the new current...
5
4722
by: Dennis | last post by:
I have a class that inherits from DataGrid. I can set the rowheights in a DataGrid by tappig into the "get_Datagridrows" method. However, this does not work for classes that inherit from...
4
4389
by: Price Brattin | last post by:
I dragged a datagrid onto a VB.Net WinForm and used the properties page and a few lines of code to set it up, including the DataSource. No wizard setup was used. It works fine except for one...
0
6967
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7132
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7180
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
6846
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
5439
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
4870
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4564
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3076
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
266
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.