473,383 Members | 1,868 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 ScrollBar Question

Hi,

I have a DataGrid filled with some names, but when I delete a name
from the
datagrid and set .CurrentRowIndex = 1 the datagrid will show the top
rows like it should be but the scrollbar can be way down (if I deleted
the last record).

Anyone know how to fix that?

Thanks
Nov 20 '05 #1
0 1124

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

Similar topics

0
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
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
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
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
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...
0
by: sunshinevaldes | last post by:
Hello all and thank you for your time. The problem I have is when the datagrid has the scrollbar, all the column headers are aligned. However, if there is only a couple records displaying and...
0
by: Diederik Koerselman | last post by:
Hi, I have a DataGrid filled with some names, but when I delete a name from the datagrid and set .CurrentRowIndex = 1 the datagrid will show the top rows like it should be but the scrollbar can...
2
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
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
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
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...
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: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
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...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?

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.