Hi,

There's an example datatable with builtin scrolling functionality here,
maybe it helps;

http://www.nightdev.devisland.net/yui4jsf-examples/datatableScrollable.jsf

Regards,

Cagatay

On 8/1/07, Sharath Ambati <[EMAIL PROTECTED]> wrote:
>
> 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 tried to use CSS style for table header, but it
>  has not worked
>  either.
>
>  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.
>
>  Using the scroll bar is critical user requirement for
>  me Anyhelp would be highly appreciated.
>
> Sharath
>

Reply via email to