ScrollBar issue in JSF
843842Apr 7 2006 — edited Jan 30 2008Hi
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.