Rather than adding it to the displaytag core - maybe we can just document it? Not many folks ask for it - so this thread will hopefully be enough. If there's enough demand, we can formalize it.

Matt

On Jul 7, 2004, at 5:06 PM, David Erickson wrote:

Ahh sweet.. and I have js code in there that can resize the table to use
full height of the client window/frame/iframe if needed... its just a
scarily large amount of coding that would need to be done to displaytag to
support this kinda thing :P
-David


----- Original Message -----
From: "Matt Raible" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, July 07, 2004 1:15 PM
Subject: Re: [displaytag-user] Non Scrolling Headers


Actually, with Gecko, this whole problem doesn't exist because you can set a height on the <tbody> and then set overflow: auto. So all you need is a solution that uses CSS for Gecko and JavaScript that detects and makes changes for IE.

Matt

On Jul 7, 2004, at 12:04 PM, David Erickson wrote:

Ya for some reason the column headers wont resize with gecko however
everything else seems to work, i'll mess with it a bit and see what i
can figure out.
-David
----- Original Message -----
 From: Matt Raible
To: [EMAIL PROTECTED]
Sent: Wednesday, July 07, 2004 10:46 AM
Subject: RE: [displaytag-user] Non Scrolling Headers

It doesn't work in Firefox. :(

Nevertheless, it's probably a good solution for those IE junkies out
there. ;-)


-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of David Erickson Sent: Tuesday, July 06, 2004 4:36 PM To: [EMAIL PROTECTED] Subject: Re: [displaytag-user] Non Scrolling Headers

Oh I forgot to mention that demo html page also forces the data to
takeup the full height of the client window minus the headers, and
goes full width using css.
-David
----- Original Message -----
 From: David Erickson
To: [EMAIL PROTECTED]
Sent: Tuesday, July 06, 2004 4:31 PM
Subject: Re: [displaytag-user] Non Scrolling Headers

Here is a proof of concept of static headers that are aligned properly
in
IE6.. I assume this could be tweaked to work with other browsers as
well.
It would need some significant coding in displaytag to make work, you
would
need to split the headers into their own table, and surround the data
table
with a div, then give the ability to assign id's to the tables, table
header
cells, table data cells, and div. Then you would need to have your
own js
in the page, or include a js function with displaytag to work with
this.....
-David

ps don't rip on my javascript, its almost the first time i've done
anything
with it so its super ugly ;p

----- Original Message -----
From: "David Erickson" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, July 03, 2004 9:54 AM
Subject: Re: [displaytag-user] Non Scrolling Headers


Thats the example I was looking for yesterday and couldnt find..
might
wanna
link that off displaytag's webpage somewhere. The problem with this
though,
if you squish your IE window down so the emails and some of the other
columns are wrapping, then click on the javascript to put it into a
fixed
height div, the inside cells become a much different size than the
headers..
i wish beyond wishing there was some way to fix that... is it
possible to
nest a div inside a table tag?
like:
<table>
<tr>
<th></th>
<th></th>
</tr>
<div class="Scrollable">
<tr>
<td></td>
<td></td>
</tr>
</div>
</table>

-David
----- Original Message -----
From: "Matt Raible" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, July 02, 2004 11:38 PM
Subject: Re: [displaytag-user] Non Scrolling Headers


Here's how I've done it. You could try re-creating this example
with
fixed-width headers.

http://homepage.mac.com/mraible/demos/staticHeaders.html

Matt

On Jul 2, 2004, at 5:58 PM, David Erickson wrote:

I seemed to remember reading a message about non scrolling
headers
awhile
back, meanwhile having your result set scrollable.. however the
main
problem
that seems apparent to me is keeping the column headers the same
size
as the
resulting data, assuming you split the headers into one table
and the
data
into another. This COULD be solved by using fixed widths but
I'm not
keen
on that. What I'm wondering is it this would be possible:

Split the headers up into one table
Split the resulting data up into the second table, wrapped in a
div
with a
fixed height so it would enable vertical scrolling. And then
calling
a JS
function for onLoad and onResize that would grab the sizes of the
result
data's column width and update the headers widths to be the
same. I
don't
know jack about JS so thats basically what I'm wondering if its
possible..
the other stuff I know can be done.

-David



-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 -
digital self defense, top technical experts, no vendor pitches,
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
displaytag-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/displaytag-user



------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ displaytag-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/displaytag-user




------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ displaytag-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/displaytag-user




------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ displaytag-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/displaytag-user



-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 -
digital self defense, top technical experts, no vendor pitches,
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
displaytag-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/displaytag-user



-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
displaytag-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/displaytag-user

Reply via email to