Win a copy of Java 9 Revealed this week in the Features new in Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

h:dataTable with scroll bars  RSS feed

 
M Burke
Ranch Hand
Posts: 406
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Bartender
Posts: 18548
61
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!