File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
h:dataTable with scroll bars
Joined: Jun 25, 2004
Dec 17, 2009 09:36:25
I want to add vertical and horizontal scroll bars to my h:dataTable. How can I do this? I do not see an attribute for it on the plain Sun h:dataTable.
Joined: Jun 25, 2001
Dec 18, 2009 05:26:16
That's because there isn't one. Although you might possibly be able to do this via CSS, the core
dataTable is fairly limited.
RichFaces has a dataTable tag that supports scrollbars.
An IDE is no substitute for an Intelligent Developer.
I agree. Here's the link:
subject: h:dataTable with scroll bars
how to add scroll bars in a JSP table?
JScrollPane and scroll bars
BorderLayout and Scrollbars.
Adding Scroll bars to JPanel
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015