473,399 Members | 2,774 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,399 software developers and data experts.

DataGrid - Vertical/Horizontal scroll

Hi,
I made a data grid vertically as well as horizontal
scrollable as number of columns are very large!!

But when i scroll horizontally then header is not visible
as it also gets scrolled up,,so to tackle this i made a
different data grid having only header as the row and the
other datagrid contains the actual data for it,,

Due to this vertical scrolling problem goes as i have put
second data grid in <div/> tag and upper data grid is
outside the <div/> tag. But horizontal scrolling for lower
data grid doesnot cause horizontal scrolling of upper data
grid which contains header for lower data grid contains!!

User has this requirement as urgent one,,Urgent response
is really helpful to me,,

Thanks

Nov 18 '05 #1
3 3270
Don't do it that way because it won't look professional. The header and the
body start to misalign when the body information changes. Either buy a
component here is one: http://www.makeitscroll.com/
or have a look at Dino Esposito's november publication of Freeze the Header
Scroll the Grid published in aspnet pro magazine. I had a copy and a link,
can't find it now. But he put the code out on the web so you should not have
difficulty finding it. It does have issues as well FYI

regards

--
-----------
Got TidBits?
Get it here: www.networkip.net/tidbits
"sumit" <su****@iiitb.ac.in> wrote in message
news:4f****************************@phx.gbl...
Hi,
I made a data grid vertically as well as horizontal
scrollable as number of columns are very large!!

But when i scroll horizontally then header is not visible
as it also gets scrolled up,,so to tackle this i made a
different data grid having only header as the row and the
other datagrid contains the actual data for it,,

Due to this vertical scrolling problem goes as i have put
second data grid in <div/> tag and upper data grid is
outside the <div/> tag. But horizontal scrolling for lower
data grid doesnot cause horizontal scrolling of upper data
grid which contains header for lower data grid contains!!

User has this requirement as urgent one,,Urgent response
is really helpful to me,,

Thanks

Nov 18 '05 #2
Hi,
Please send me that copy/code because i dont have subscription for that
magazine!! and it is urgent needed as per customer requirement!! Also i
couldnot find the code on the web!
It would be really great if you can send it!!

My E-mail id is su****@mastek.com also to su***********@yahoo.com

Thanks,
Sumit

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 18 '05 #3
A scolding first: The point of providing code in such excellent articles is
to encourage you to subscribe to the magazine. It's a good magazine you
should have your manager subscribe to it that way the group can benefit from
it and you won't have to foot the bill.

The sample code is available for download to asp.netpro subscribers at
www.aspnetpro.com/download.

I won't type it out for you because the code is spread over 5 pages and I
really don't have that much free time. If you insist, you can ask Dino
Esposito himself for the code: He wrote it
di**@wintellect.com.

regards

--
-----------
Got TidBits?
Get it here: www.networkip.net/tidbits
"sumit acharya" <su****@mastek.com> wrote in message
news:O6**************@TK2MSFTNGP10.phx.gbl...
Hi,
Please send me that copy/code because i dont have subscription for that
magazine!! and it is urgent needed as per customer requirement!! Also i
couldnot find the code on the web!
It would be really great if you can send it!!

My E-mail id is su****@mastek.com also to su***********@yahoo.com

Thanks,
Sumit

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!

Nov 18 '05 #4

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

Similar topics

4
by: justdummy | last post by:
Hi, I am struggling with a problem for sometimes. I need to display a table in a html and if the height of the table goes beyond 200 px then a vertical scrollbar should alone appear without any...
1
by: john sutor | last post by:
Does anyone know if you can display vertical scroll or horizontal scroll bars on the datagrid ???
1
by: Henry | last post by:
Hi. I've posted this at another discussion board(WebControls) and I was wondering if anyone knows or could help me in the right path to solving my problem. Thanks. Henry (Here is the...
0
by: dave | last post by:
I have a datagrid within a <div> to allow scolling, but i only need it to allow horizontal scrolling. When the horizontal scroll bar appears it also produces a vertical scroll due to the 9 or so...
0
by: Dan Hinsley | last post by:
I just got one of the new Microsoft Mice that has a "tilt wheel" for horizontal scrolling. This works in a listbox in my VB.NET app, but doesn't work for a datagrid that does have a horizontal...
0
by: Greg | last post by:
I've made a datagrid multiline (for anyone interested, I used an adaptation of the code at http://64.78.52.104/FAQ/WinForms/FAQ_c44c.asp). This has introduced a very serious issue: the vertical...
3
by: lolo | last post by:
hello. happy new year. I'm trying to build a website for my wife and she is adament on having a horizontal thumbnail scrolling div. great. I have a good vertical scrolling thing, but can't...
8
by: ayamopamo | last post by:
Hi- I am trying to center a web page. It seems like this should be very simple to do, but apparently it isn't my day. I have successfully centered the background by calling it in the css body tag:...
0
by: skoyala | last post by:
Hi All, I need to put a horizontal scroll bar for 4 cells alone where my first cell in table should not contain any horizontal scroll bar but i need to put vertical scroll bar to both first and 4...
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: 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: 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...
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...
0
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...

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.