Hi everyone,
I currently display XML data with XSLT which works fine (including some dynamic filtering with JavaScript).
However, often the data which is returned is quite lengthy and, as the user scrolls down to look at the data, the header disappears off the top of the viewable portion of the browser. This is quite irritating as the header contains summing and title information which should remain in view.
So my question here is whether there is an easy way to freeze the header and make the data scrollable?
Of course the first thought that I had was to use 'frames' but I believe that this would either be impossible with XSLT or would make the coding significantly more complex. Am I right or is there an easy way to do this?
Any tips or links to HOWTOs would be a big help.
Many thanks,
Alan Searle
3 2007
Many thanks for the link showing how to freeze the headers ...
eg http://www.cssplay.co.uk/layouts/basics2.html
... and yes, this works fine (even incorported into an XSL file). I'm very pleased and many thanks for your help.
However, I am curious about one thing:
As it is, I will use the frozen head to hold my column headers and totals in place while the data is scrollable. This will mean that the user will see both the detail numbers and the totals at once which was not the case before.
Yes, that works fine but I am now having to fiddle around with declarations of absolute position in order to keep the headers above their respective columns. This works but is a bit tedious and could cause problems if one user needs to access the system from a computer with a smaller screen (i.e. the columns will not re-sized).
What would be even better than the frozen headers would be a scrollable grid or table where I can declare a table and then the system automatically makes that table scrollable (like a list box) while keeping the headers static.
Am I asking too much? Does such a thing exist?
Any tips would be gratefully received.
Regards and many thanks,
Alan Searle
I've been google on 'scrollable grid' and there seems to be a lot of discussion (noise) out there on this topic.
It seems that there are commercial solutions and a lot of ASP chat about this issue. However, I am working with XSLT & JavaScript and don't really want to get involved in testing 'add-ons' or writing lots of code.
If there is nothing that is more or less (HTML) standard, then I will probably stick with the frozen-header solution. That works well and looks good and so all I need to do is to fix the widths of the columns.
Many thanks,
Alan Searle
Sign in to post your reply or Sign up for a free account.
Similar topics |
by: Steven K |
last post by:
Hello,
I am having a problem where my computer is freezing when I run a ASP.net
project. It freezes in the debugger, or if I try to run it as localhost. I
cannot even access the windows Taskbar, or anything. I have to power off my
computer.
It is a brand new machine, XP Pro, VS.NET 2003.
Other Notes:
|
by: Job Lot |
last post by:
Is there any way of freezing columns in Windows Forms Data Grid control?
Thanks
|
by: nkparimi |
last post by:
Hi,
Here's what I'm trying: given an html table, to freeze the column
headers and/or left column in IE. I understand that this is possible
thru style sheets in IE, as suggested in the following:
http://web.tampabay.rr.com/bmerkey/examples/locked-column-csv.html
http://www.adp-gmbh.ch/web/css/expression.html
|
by: bearophileHUGS |
last post by:
Most of my ideas seem usless or stupid, but I think expressing them
here doesn't harm much.
This is an idea for Py 3.0, because it's not backward compatible.
Dicts and sets require immutable keys, like tuples or frozensets, but
to me they look like a duplication. So the idea is to remove tuples and
frozensets (and replace the few other uses of tuples with lists, like
the % interpolation), and to add a freeze operation, to freeze lists,...
|
by: John Walker |
last post by:
Hi,
We have a datagrid with column headers. If the datagrid has more than say
25 rows the user needs to scroll down to be able to see the rest of the grid.
When the user does this the column headers scrolls up off the screen and it
becomes hard for the user to determine what the columns are. Is there a way
to keep the columns headers in place (only for vertical scrolling) when the
user scrolls down.
Thanks,
John
| |
by: hem |
last post by:
Hi,
I have the following small program which read password from user after
echoing off. But the problem is, it is freezing for some time (not sure
about the duration) before going to the next statement and I have to
press "enter" multiple times (maximum 4, it is not consistent though).
I am trying it on a hp-ux machine with aCC compiler.
Any pointers/help would be greatly appreciated.
|
by: Mark rainess |
last post by:
The program displays images from a motion jpeg webcam.
(Motion jpeg is a bastardization of multi-part mime.)
<http://wp.netscape.com/assist/net_sites/pushpull.html>
It runs perfectly for about 4 hours, then freezes.
I'm stuck. How do I debug this?
(Using: Python 2.4.3, wxPython 2.6.3.2, Windows 2000 and XP)
There are no tracebacks, the gui continues to run,
|
by: fhtino |
last post by:
Hello,
I'm trying to create an email message with particular headers. A piece
of code:
SmtpClient smtp = new SmtpClient("192.168.x.y");
MailMessage msg = new MailMessage("from@xxxxxxx", "to@xxxxxx", "TEST",
"");
msg.Headers.Add("Content-Type", "application/pkcs7-mime;
smime-type=signed-data; name=\"smime.p7m\"");
|
by: travispennington |
last post by:
To anyone that can assist me: I deeply appreciate your help!!
I am developing an application with an outside vendor. The vendor has
a very odd requirement. They need custom X-Headers added to an email
received by their system. That's not the odd part. The oddity is
they want to have a single X-Header containing multiple keys and
values that are delimited by a carriage return, line feed and tab.
The vendor claims other customers...
|
by: NEWSGROUPS |
last post by:
I am in the midst of trying to convert about 25 Access 2000 to Access 2003.
The new environment consists of Office/Access 2003 and Outlook 2003. When
converting the back ends I have no problems. When converting the front ends
I get the following issues and error. If I try to import all the objects
into a blank Access 2003 shell I get a missing reference error for Outlook
2000, Excel 2000, and Word 2000 or after importing all the objects...
|
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,...
| |
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...
|
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
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...
|
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...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
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
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |