Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

h:dataTable with scroll bars

 
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
Saloon Keeper
Pie
Posts: 18225
53
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