× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Mike,

The second option that Nathan points out, the scrollable DIV, is what we use 
frequently for all iSeries generated pages.  It's sometimes a bit of a hassle 
to get the headers to align with the list but it works well.  We wrap the list 
in a <div> like this:

<table id="matchingHeaderTable"><snip></table>
<DIV   class="border2Normal  scrollerAttributes"  id="nnnnTable" 
style="width:35%; height :250px;">
<table id="listTable"><snip></table>
</div>

the div will control the width on the page for the table that it contains and 
place the scrollbar correctly relative to the scrolling table.  I don't know if 
it's the best method but we use width to control alignment.  You have to allow 
room for the scroll bar in the calculation of the widths.

hope that helps.

bill
(my son is attending PCT)




  ----- Original Message ----- 
  From: Nathan Andelin 
  To: Web Enabling the AS400 / iSeries 
  Sent: Wednesday, November 15, 2006 2:16 PM
  Subject: Re: [WEB400] HTML tables with fixed header and/or column


  I normally use an inline frame for scrollable lists, and put column heading 
just above the frame, but if you're against using frames, another alternative 
is to enclose the list (an HTML table) in a scrollable DIV.

  Nathan.



  ----- Original Message ----
  From: Mike Cunningham <MCUNNING@xxxxxxx>
  To: Web Enabling the AS400 / iSeries <web400@xxxxxxxxxxxx>
  Sent: Wednesday, November 15, 2006 11:10:52 AM
  Subject: [WEB400] HTML tables with fixed header and/or column

  We have a application that needs to show many rows and many columns of
  data at the same time. We want to have the column heading stay as the
  user scrolls thru the detail records and also have the name column stay
  visible as they scroll right. We have the scrolling working in IE but
  it's very very slow. In firefox the headers don't stay static. Has
  anyone figured out a way to do this that works in both browsers that
  does not resort to using frames? 
   
  Mike Cunningham
  CIO
  Pennsylvania College of Technology
  www.pct.edu
  mcunning@xxxxxxx



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.