This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one 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 The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript 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: 16019
    
  20

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.
 
jQuery in Action, 2nd edition
 
subject: h:dataTable with scroll bars