posted 14 years ago
Hi all,
I am trying to implement a datatable having a lot of columns (resulting in a very wide table) and also a lot of rows. I am enclosing this table inside a div tag that limits the height and width of the table and displays horizontal and vertical scroll bars in case of an overflow.
I want the header row of the table to stay fixed when scrolling horizontally, but not vertically. I used the following CSS styleClass
to achieve this, but what i got is the header spilling out of the div tag and getting displayed in its entire width. How can i remove this flaw?
My div tag is as follows:
When the compiler's not happy, ain't nobody happy.