• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Rob Spoor
  • Devaka Cooray
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
  • Tim Holloway
Bartenders:
  • Jj Roberts
  • Al Hobbs
  • Piet Souris

Fixed header scroll bar to datatable

 
Ranch Hand
Posts: 36
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello Everyone,

How to apply scroll to <h:datatable> that to fixed header . I have tried for below code but it wont disply.

<h:dataTable styleClass="histScroll" headerClass="calltableheader" value="#{call.localHistory}"
var="result" rowClasses="callcolumn" >

<h:column >
<f:facet name="header">Call Data</f:facet>
<h:outputText id="mstoms" value="#{result.callHistory}" />
</h:column>
<h:column >

<f:facet name="header">Date</f:facet>
<h:outputText id="date" value="#{result.newvalue}" />
</h:column>
</h:dataTable>

CSS/Styles
.histScroll{


height:75px;
overflow-y: auto;

}

Could any one helpme on this?

Thank you,
Praveen
 
Praveen Yendluri
Ranch Hand
Posts: 36
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Could anyone provide me solution on this?

Thanks,
Praveen
 
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic