This week's book giveaway is in the JavaScript forum.
We're giving away four copies of Getting MEAN with Mongo, Express, Angular, and Node and have Simon Holmes 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


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: 391
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: 16649
    
  25

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.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: h:dataTable with scroll bars