[Zope] Scrolling Tables

Dylan Reinhardt zope at dylanreinhardt.com
Tue Jan 6 22:47:40 EST 2004


On Tue, 2004-01-06 at 18:57, Goldthwaite, Joe wrote:
> 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?

You could hack this together using DHTML/JavaScript with frames.  

Use JavaScript to measure the columns as rendered and squeeze a matching
header into a frame just above the table.  Won't be trivial, but it
should definitely be possible.

HTH,

Dylan




More information about the Zope mailing list