• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

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
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic