• Post Reply Bookmark Topic Watch Topic
  • New Topic

Fixed header scroll bar to datatable  RSS feed

 
Praveen Yendluri
Ranch Hand
Posts: 36
  • Mark post as helpful
  • send pies
  • 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>
<hutputText id="mstoms" value="#{result.callHistory}" />
</h:column>
<h:column >

<f:facet name="header">Date</f:facet>
<hutputText 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
  • Quote
  • Report post to moderator
Could anyone provide me solution on this?

Thanks,
Praveen
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!