Skip to Main Content

Java Development Tools

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

not able to fixed header while scrolling on f:datatable

905946May 20 2013 — edited May 21 2013
i m using jdeveloper 10314,

i am not able to fixed the column header position after scrolling on my table, means header are not visible as i scroll down.

<h:dataTable id="scList2" var="sc"

value="#{StockCountPortletBean.stockCountHistBeanList}"
width="100%" cellpadding="3"
cellspacing="0"
onclick=""
headerClass=""
styleClass="detailsGroupCol"
rowClasses="whitebg,graybg"
columnClasses="col1,col2,col3,col4,col5">
<h:column>
<f:facet name="header">
<h:outputLabel value="#{msg.date}" styleClass="detailsGroupCol55"/>
</f:facet>
</h:dataTable>

css code

.detailsGroup1{
border-style:solid;
border-collapse: collapse;
border-width:1px;
border-color:#9dc0dc;
width: 600px;
text-align:left;
}

.detailsGroupCol55{
text-align:left;
font-size:14px;
color: #505050;
font-family:Arial;
position:absolute;
}
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 18 2013
Added on May 20 2013
1 comment
135 views