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:[EMAIL PROTECTED]]
Sent: Wednesday, December 11, 2002 1:00 PM
To: [EMAIL PROTECTED]
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" <[EMAIL PROTECTED]>
To: "Sridhar Ramalingam" <[EMAIL PROTECTED]>
Sent: Tuesday, December 10, 2002 6:44 PM
Subject: Re: Help with fixed columns...


>
> ----- Original Message -----
> From: "Sridhar Ramalingam" <[EMAIL PROTECTED]>
> > 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.
>
>
>

Reply via email to