Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

ScrollBar issue in JSF

843842Apr 7 2006 — edited Jan 30 2008
Hi

I am trying to create a JSF DataTable with a
Scroll Bar Option (instead of Pagination Control). If
i place the datatable in between div tag for example
<DIV style="overflow:auto; width:100%; height:200px">
<datatable></datatable>
</div>
tags it supports scrolling.
But I am unable to fix the
table header and scroll only through the data rows in
the table.

I have made sure that an html table can scroll such
that it s header stays fixed. It can be done through
setting style attribute of tbody element
(style="overflow:auto; width:100%; height:200px").
But how would it work with datatable is unclear. Is this an issue with jsf??
Please comment.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 27 2008
Added on Apr 7 2006
11 comments
878 views