jQuery in Action, 3rd edition
The moose likes JSF and the fly likes h:dataTable header is scorlling with the data Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Introducing JavaFX 8 Programming this week in the JavaFX forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "h:dataTable header is scorlling with the data" Watch "h:dataTable header is scorlling with the data" New topic

h:dataTable header is scorlling with the data

Raghunath Kb

Joined: Oct 08, 2012
Posts: 1
Datatable header is scrolling with the data.

Previously my project was running in WAS6.1 and we were using JSF1.1(JSP files). Below is the code structure. The header was not scorlling at that time.

We have migrated from JSF1.1 to JSF1.2 (JSP file to Xhtml files) for WAS6.1 to WAS8.0 Migration. But here the header also scrolling with the data. Please give your suggestion on this.

<t:htmlTag value="div" id="divElem">
<f:facet name="header">
Column name1
column data1
<f:facet name="header">
Column name2
column data2
in page:
var tablesize = document.getElementById('datatable_id:resultsize')
if (tablesize > 0 && document.body.scrollHeight > window.screen.availHeight){
var calcHeight=Math.ceil(screen.height*41 / 100);

external js
function applyScroll(userheight,page){
var divElem = document.getElementById(page+':divElem');
divElem.style.overflow = "auto";
divElem.style.height = userheight;
I agree. Here's the link: http://aspose.com/file-tools
subject: h:dataTable header is scorlling with the data
It's not a secret anymore!