Scrollable table body

73 views
Skip to first unread message

Massimiliano Del Matto

unread,
Jan 5, 2012, 8:24:12 AM1/5/12
to JMesa
Hi Jeff, hi all (and happy new year, too!)

I have read some previous posts where someone were asking for a
(JMesa) scrollable table body, and the answer was to do the scrolling
by CSS (i.e. adding some style to the rendered <tbody> tag). The
problem was (strangely...) when using iexplorer, overflow attribute on
<tbody> doesn't work.

It's easy to find online a workaround for doing a scrollable table
body. One can create two html <table>s, the first containing the head
content and the second the body: enclosing the second one into a <div
style="overflow: auto;"> the final table body will be scrollable and
fine working in every browser.

Now I ask you if it's possible to reproduce this behaviour in a future
version of JMesa (with some changes to HtmlBuilder or something like).

Thank you,

Massimiliano

Jeff Johnston

unread,
Jan 5, 2012, 6:32:19 PM1/5/12
to jm...@googlegroups.com
If you wanted to try out alternative looks you can create a custom view.

http://code.google.com/p/jmesa/wiki/CustomViewTotalsTutorial

As far as I know though the only really good way to scroll the body is by using CSS...but the browsers still have spotty behavior doing that.

-Jeff



--
You received this message because you are subscribed to the Google Groups "JMesa" group.
To post to this group, send email to jm...@googlegroups.com.
To unsubscribe from this group, send email to jmesa+un...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/jmesa?hl=en.


Reply all
Reply to author
Forward
0 new messages