views:

136

answers:

1

I have used t:commanSortHeader in my table and i need that table to have a fixed header and that table should be scrollable. suggest me a solution

A: 

Since a certain webbrowser developed by a team in Redmond doesn't support overflow: scroll; on the tbody element, that's not possible without a heavy CSS injection and maybe a shot of JavaScript. This isn't reliably in short answerable since the succesful working may depend on external factors. Google has however a lot of examples.

If you're by coincidence using RichFaces as well or are open to adding another component library, then you may find RichFaces useful. It has a ready-made component, the rich:scrollableDataTable.

BalusC