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

locking headers in the Datagrid

Is it possible to have the scroll bar appear beneath the headers, so they
stay in view while scrolling down a large list of data in the datagrid
control?

you could have two grids and split and over lap them via a frame, but for
huge tables that would not be a feasible option... i'd also like the chance
to have this turned while using the paging and if the second page has a
field that's longer that any in the first page, the header's fall out of
width with each other when using frames.

thanks.

Nov 17 '05 #1
2 1625
Check out this article, this might help you
http://www.microsoft.com/india/msdn/...leDataGridWebS
erverControl.aspx
--
Saravana
Microsoft India Community Star,
MCAD,SE,SD,DBA.
"Nimbus Dorkus" <sp******@hotmail.com> wrote in message
news:eA**************@TK2MSFTNGP10.phx.gbl...
Is it possible to have the scroll bar appear beneath the headers, so they
stay in view while scrolling down a large list of data in the datagrid
control?

you could have two grids and split and over lap them via a frame, but for
huge tables that would not be a feasible option... i'd also like the chance to have this turned while using the paging and if the second page has a
field that's longer that any in the first page, the header's fall out of
width with each other when using frames.

thanks.

Nov 17 '05 #2
Thanks, that's just perfect!!! :-)

"Saravana" <sa******@sct.co.in> wrote in message
news:ul*************@tk2msftngp13.phx.gbl...
Check out this article, this might help you
http://www.microsoft.com/india/msdn/...leDataGridWebS erverControl.aspx
--
Saravana
Microsoft India Community Star,
MCAD,SE,SD,DBA.
"Nimbus Dorkus" <sp******@hotmail.com> wrote in message
news:eA**************@TK2MSFTNGP10.phx.gbl...
Is it possible to have the scroll bar appear beneath the headers, so they stay in view while scrolling down a large list of data in the datagrid
control?

you could have two grids and split and over lap them via a frame, but for huge tables that would not be a feasible option... i'd also like the

chance
to have this turned while using the paging and if the second page has a
field that's longer that any in the first page, the header's fall out of
width with each other when using frames.

thanks.


Nov 17 '05 #3

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

Similar topics

4
by: Michael Chermside | last post by:
Ype writes: > For the namespaces in Jython this 'Python internal thread safety' > is handled by the Java class: > > http://www.jython.org/docs/javadoc/org/python/core/PyStringMap.html > > which...
7
by: Billy Jacobs | last post by:
I am using a datagrid to display some data. I need to create 2 header rows for this grid with columns of varying spans. In html it would be the following. <Table> <tr> <td colspan=8>Official...
3
by: sam | last post by:
Hello Group, Havent had luck posting it to microsoft.public.dotnet.framework.aspnet.datagridcontrol group. Excuse me for the cross posting. I have a datagrid which needs to be split into multiple...
5
by: Ben | last post by:
Is there any way to freeze the DataGrid headers so that the headers are always viewable while srolling down? Thanks in advance, Ben!
0
by: Hai Nguyen | last post by:
Below is my code, would anybody please figure out why it did not display any thing. The database did not anything in there yet, what it does is the header field. It just shows me the headers only,...
1
by: ElenaR | last post by:
I need to figure out how to name my column headers in a DataGrid. In VB6, I could write DataGrid1.Columns(0).Caption = "ID". What is the format for VB.NET? Thanks in Advance!
4
by: cooltech77 | last post by:
Hi, I am trying to build the following functionality in the datagrid. I have a lot of columns in the datagrid which are being populated from the database and the user needs to scroll...
7
by: Evan Camilleri | last post by:
I have a datagrid with headers. I managed to 'freeze' the headers OK and then one can scroll to see contents. I would like to be able to print this list by re-prinitng the headers on each page....
3
by: Gidi | last post by:
Hi, I've a dataGrid, and When I click with the mouse on one of it's header the DataGrid_Click event is called. I don't have problem with the event, but strange things happen to the dataGrid...
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?
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
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
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
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.