Well I think it's actually a HTML related query, hence posting here :
I have a dataTable code in
JSF like this :
The facet is creating the Header and outputtext is creating the rows. The above code is rendered as follows :
Now I want to add a div tag or something .. to enable scrolling without moving the header of the table.
Can anyone suggest how to do that? I can't add div tag enclosing the table as it would make the header also scrollable. I wolud like to know is it possible to add div or something just in the body tag to allow scrolling of the body only.