RE: [Zope] Scrolling Tables
I dont' know if anyone has already suggested this, but have you considered using the CSS 'overflow:auto' attribute? I haven't tried it on a portion of a table but it couldn't hurt to try.. All you should need to do would be wrap a div tag around the portion of the table that you want to scroll. ... </tr> <div style="overflow:auto;" > <tr> Rows/cells that you want to scroll here </tr> </div> ... Lee
From: "Goldthwaite, Joe" <invalid@bar-s.com> To: <zope@zope.org> Subject: [Zope] Scrolling Tables Date: Tue, 6 Jan 2004 19:57:13 -0700
I've been working on a financial reporting web site and thanks to the help of all the list members, it's coming along nicely. I was actually able to show the controller a prototype project that gives him access to his Income Statement for all organization levels in the company. Of course the first thing he asked was "Can you lock the header on the page so it doesn't scroll off the top?". Well, I don't know if that's even possible.
I could do it using frames if I set the size of the table columns myself. That's not an optimal solution however. Having the columns auto-size is a pretty nice feature. Especially when you're dealing with so many different screen resolutions and font sizes. Not to mention different browsers.
Does anyone know of a plug in that will allow table data to be displayed and scrolled but will still automatically size the columns and work with Zope?
Joe Goldthwaite
Property of Bar-S Foods. This message is intended only for the use of the Addressee and may contain information that is PRIVILEGED and CONFIDENTIAL. If you are not the intended recipient, dissemination of this communication is prohibited. If you have received this communication in error, please erase all copies of the message and its attachments and notify us immediately at 602.264.7272 or postmaster@bar-s.com.
_______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
_________________________________________________________________ STOP MORE SPAM with the new MSN 8 and get 2 months FREE* http://join.msn.com/?page=dept/bcomm&pgmarket=en-ca&RU=http%3a%2f%2fjoin.msn...
On Thu, 08 Jan 2004 20:12:12 +0000 "Lee J. McAllister" <ljmcallister@hotmail.com> wrote:
I dont' know if anyone has already suggested this, but have you considered using the CSS 'overflow:auto' attribute? I haven't tried it on a portion of a table but it couldn't hurt to try..
All you should need to do would be wrap a div tag around the portion of the table that you want to scroll.
... </tr> <div style="overflow:auto;" > <tr>
Rows/cells that you want to scroll here
</tr> </div> ...
Lee
I believe this is a use-case that <tbody> and <thead> are supposed to address. No idea what the browser support is for these though, probably not very good. -Casey
participants (2)
-
Casey Duncan -
Lee J. McAllister