473,782 Members | 2,699 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Scrollable Grid

I was just looking at a site that had scrollable grids and was wondering how
that is done?

It was an aspx page, but I have only seen Datagrids that were
non-scrollable. You can page a grid but I have never seen an option to make
a grid scrollable.

Does anyone know how that is done?

Thanks,

Tom
Sep 5 '07 #1
2 1810
"tshad" <tf*@dslextreme .comwrote in message
news:ui******** ******@TK2MSFTN GP04.phx.gbl...
>I was just looking at a site that had scrollable grids and was wondering
how that is done?

It was an aspx page, but I have only seen Datagrids that were
non-scrollable. You can page a grid but I have never seen an option to
make a grid scrollable.

Does anyone know how that is done?
http://www.google.co.uk/search?sourc...iew+scrollable
--
Mark Rae
ASP.NET MVP
http://www.markrae.net

Sep 5 '07 #2
The primary trick is to put the gridview inside a DIV tag that has a height
and an overflow-y:scroll so that it creates a scroll bar, so the gridview
itself doens't do the scrolling. If you want to have the headers in a fixed
position above the scrolling gridview you copy the header row with
javascript. There is a good example here, i've done it before based on this
logic.

http://www.codeproject.com/useritems...ngGridView.asp

john

"tshad" <tf*@dslextreme .comwrote in message
news:ui******** ******@TK2MSFTN GP04.phx.gbl...
>I was just looking at a site that had scrollable grids and was wondering
how that is done?

It was an aspx page, but I have only seen Datagrids that were
non-scrollable. You can page a grid but I have never seen an option to
make a grid scrollable.

Does anyone know how that is done?

Thanks,

Tom

Sep 5 '07 #3

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

Similar topics

7
11654
by: Matt Kruse | last post by:
This is a typical layout, but I have specific requirements. I'm trying to figure out a) if it's possible to meet the requirements and b) if so, how. +---------------+ | header | +---------------+ | body | | (scrollable) | +---------------+ | footer |
2
2373
by: dfreas | last post by:
I'm using Bloodshed Dev-C++ to write a program used to calculate orders for my business. Until recently a command line program has been sufficient but it is beginning to become cumbersome so I've switched to writing a windows program and am learning the API as I go. If I use a term wrong correct me - my experience in windows programming is limited, I do however understand C++ fairly well as I've been using it for about four years. I...
3
2220
by: pmud | last post by:
Hi, I have a web page (asp.net, code:c#). I havean html table with text boxes. Based on the user input , records are displayed in the data grid below it. Now the datagrid has a large no. of columns. & depending on what the user enters, the data grid can grow very large. So to avoid scrolling the whole page, I just want the data grid to be scrollable. For this I used the <div> tags around the data grid, <div...
1
1198
by: Cristof Falk | last post by:
Is there an easy way to have a scrollable grid where you can lcok top lines or left columns for headings? It seems like you have to purchase this, which we'd rather not do. We're most interested in VS2005, but have some apps in VS.NET 2003. If we need to purchase, any recommendations of controls that match the built-in one best? Thanks!
3
1552
by: Steve | last post by:
is it possible to create a scrollable data grid without using the div command (i've tried this and it doesn't look good in our system). I was using a program called scrollinggrid, but the designers seem to have disappeared.
2
4094
by: Ben H | last post by:
Hello all I'm using a listview in my app but I want to scroll the listview programatically as I hate the look of the standard scrollbar. So, the listview is scrolled programatically using ensurevisible, ie the listview shows a maximum of 6 items and if I want to scroll down one I use the code... listview.ensurevisible(listview.TopItem.Index + 6)
1
1561
by: Rune Jacobsen | last post by:
Hi, Since noone replied to my other post, I have simplified my spec a bit in the hope that I can adequately explain what I am trying to achieve. For those interested, I have created a mockup here: http://zoopsia.org/mockup.gif A simple explanation of what you see;
1
16974
by: since | last post by:
I figured I would post my solution to the following. Resizable column tables. Search and replace values in a table. (IE only) Scrollable tables. Sortable tables. It is based on a lot examples I found on the web. Works in IE and mozilla. http://www.imaputz.com/cssStuff/bigFourVersion.html
0
9639
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9474
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10308
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9939
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8964
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7486
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6729
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
1
4040
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3633
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.