This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes JSF and the fly likes h:dataTable with scroll bars Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "h:dataTable with scroll bars" Watch "h:dataTable with scroll bars" New topic
Author

h:dataTable with scroll bars

M Burke
Ranch Hand

Joined: Jun 25, 2004
Posts: 388
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.
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 15962
    
  19

That's because there isn't one. Although you might possibly be able to do this via CSS, the core JSF dataTable is fairly limited.

RichFaces has a dataTable tag that supports scrollbars.


Customer surveys are for companies who didn't pay proper attention to begin with.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: h:dataTable with scroll bars
 
Similar Threads
Adding Scroll bars to JPanel
BorderLayout and Scrollbars.
how to add scroll bars in a JSP table?
Mirroring JScrollBars
JScrollPane and scroll bars