473,387 Members | 1,798 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,387 software developers and data experts.

DataGrid Scrollbars

I'm seeing a strange problem with a Windows.Forms.DataGrid in my
application. When I bind it to a table in a DataSet, everything works
fine. But when I bind it to a DataView, the scrollbars on the grid are
disabled and only become enabled when the user either clicks a column
heading to sort, or manually navigates the records with the keyboard.

Is there some way I can "force" the scrollbars to be active after
binding to a DataView?
-David
Aug 22 '06 #1
1 1717
You tried forcing a sort on the dataview?

"David P. Donahue" <dd******@ccs.neu.eduwrote in message
news:%2***************@TK2MSFTNGP05.phx.gbl...
I'm seeing a strange problem with a Windows.Forms.DataGrid in my
application. When I bind it to a table in a DataSet, everything works
fine. But when I bind it to a DataView, the scrollbars on the grid are
disabled and only become enabled when the user either clicks a column
heading to sort, or manually navigates the records with the keyboard.

Is there some way I can "force" the scrollbars to be active after
binding to a DataView?
-David

Aug 22 '06 #2

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

Similar topics

2
by: Hmmm... | last post by:
I have 2 forms, each using a DataGrid. The DataGrids are each bound to their own MS ADO Data Control (SP4) - MSADOCD.OCX. For some reason, one of the DataGrids shows horizontal scrollbars when the...
3
by: Jay Ayliff | last post by:
Hi All, I have a VB.NET winforms app created in VS2003. It has a datagrid that is dynamically created on a tab. When the tab is displayed the scrollbars for the datagrid appear inside the outline...
2
by: Jack | last post by:
Mi ingles es peor que el de Toro Sentado, espero que en español haya alguien capaz de entenderme y orientarme Trabajo con Visual Studio 2003 y C#, he creado un control derivado de datagrid y he...
0
by: Steve | last post by:
I have windows form with datagrid control. I don't want the datagrid control to display vertical and horizontal scrollbars. I wonder whether there is a way to get rid of scrollbars without...
2
by: mg | last post by:
How can I add scrollbars to a DataGrid in a C# WebForm?
1
by: Fabrício de Novaes Kucinskis | last post by:
Hi all, I have to problems concerning datagrids, tabcontrols and scrollbars: 1) I created a form with a TabControl. This TabControl has two TabPages: the first with a datagrid to browse...
4
by: scorpion53061 | last post by:
I have a datagrid that is switches between 2 different datasources. I set the anchor properties of my datagrid to for bottom, top, left , right. My form is set ot maximize on open. If the...
0
by: Tor Inge Rislaa | last post by:
How to control the scrollbars in datagrid In VB 6.0 you could control if you wanted the scrollbars to be automatic on when needed or if you just wanted to show vertical or horizontal scrollbar....
3
by: Jesse Aufiero | last post by:
Hi all, I have a disabled datagrid on my form. Disabling it was, it seemed, the only way to prevent the user from being able to change the selected row or modify the appearance of the grid in...
1
by: anujatomar | last post by:
hi I have programmed the datagrid in windows application form to display records.Now if records are many then scrollbars come automatically. this is ok.But i have also created 'Reset' button in the...
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:
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...
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...
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...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
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
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...

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.