W3C home > Mailing lists > Public > www-talk@w3.org > November to December 2002

RE: Help with fixed columns...

From: Paulo Patricio <pjpatricio@bes.pt>
Date: Thu, 12 Dec 2002 15:28:28 +0000
To: www-talk@w3.org
Cc: sramalingam@valleyoak.com
Message-id: <5.1.1.6.0.20021212150631.00ac5a98@mail.bes.gbes>

You can have a solution with no frames :
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td valign="top">
<div id="leftPane">
<table>
<tr>
<td></td>
</tr>
<tr>
<td >çalskdfçlaksdf açlsdkfj </td>
</tr>
</table>
</div>
</td>
<td>
<div id="rightPane" style="width:300; overflow-X:auto;">
<table>
<tr>
<td nowrap="nowrap">asdffaslkdf asçldkfasçldkfj çalsdkfçlaksdjf 
çalskdfçlaksdf açlsdkfj </td>
</tr>
<tr>
<td nowrap="nowrap">asdffaslkdf asçldkfasçldkfj çalsdkfçlaksdjf 
çalskdfçlaksdf açlsdkfj </td>
</tr>
</table>
</div>
</td>
<tr>
</table>
When you set the overflow-X to auto at the right div. You're saying it can 
have an horizontal scrollbar.
Put a table with the cols you want fix at the left pane (left div). Put 
another table with the cols to scroll at the right pane(right div).
According with the width of the right table and the width of rightPane, it 
will scroll as you wish.

Paulo Patricio.


At 22:50 11-12-2002 -0500, you wrote:

>At 01:45 PM 2002-12-11, Fred Bohle wrote:
>
>>You could put the first two columns in a separate table in
>>a separate frame, and put the rest of the table in a second
>>frame which can be scrolled.
>>
>>Fred
>
>I am not sure one could make the two-frame solution accessible.
>Certainly it would not arrow across a row from the left column
>of the first table to the right column of the second table.
>
>Sridhar,
>
>Have you thought about letting the user cherry-pick the columns
>that they are interested in, and then generating a reduced table?
>
>Look at BJS for an example done with Cold Fusion over Oracle:
>
>  Bureau of Justice Statistics Crime and Justice Data Online
>  http://149.101.22.40/dataonline/
>
>Al
>
>>-----Original Message-----
>>From: Sridhar Ramalingam [mailto:sramalingam@valleyoak.com]
>>Sent: Wednesday, December 11, 2002 1:00 PM
>>To: www-talk@w3.org
>>Subject: Re: Help with fixed columns...
>>
>>
>>
>>hmm...
>>Some how I feel it is possible by using some funky CSS.
>>I do have a site where a similar functionality is accomplished, it uses XML
>>and XSLT.
>>Its kind of complex to integrate XML/XSLT into my current application, so I
>>was trying to find a simpler solution.
>>Here is the site...
>>http://www.screenbooks.net/jorr/js/flextable.htm
>>
>>Sridhar
>>
>>----- Original Message -----
>>From: "S. Mike Dierken" <mdierken@hotmail.com>
>>To: "Sridhar Ramalingam" <sramalingam@valleyoak.com>
>>Sent: Tuesday, December 10, 2002 6:44 PM
>>Subject: Re: Help with fixed columns...
>>
>>
>> >
>> > ----- Original Message -----
>> > From: "Sridhar Ramalingam" <sramalingam@valleyoak.com>
>> > > What I need is...
>> > > There are like 10 columns in a HTML table. I need to have the first 2
>> > > columns locked (not scrolling) but have the rest of the 8 columns scroll
>> > > horizontally.
>> > Do you mean like the window that contains the HTML table has a scrollbar
>>and
>> > when the user scrolls it the first two columns does not scroll? Don't
>>think
>> > that is possible.
>> >
>> > You might be able to use frames (or iframes) to isolate one portion of the
>> > table, but frames are complex and have problems in general with usability.
>> >
>> >
>> >
Received on Thursday, 12 December 2002 10:28:03 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 27 October 2010 18:14:27 GMT