Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

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!

(tomahawk) t:datatable help.

843844Sep 10 2007 — edited Oct 22 2007
Is there any solution to have a freeze pane in a t:datatable? I've seen solutions in the board for a freeze pane but for h:datatable. I'm using t:datatable as seen on my codes below. I really need help with freezing the first row and column in the table. Thank you!
<h:panelGroup style="width: 900px; height: 300px; overflow-x: auto; overflow-y:auto;">
              <t:dataTable id="myDetailDataTable" var="row" value="#{myDetailList.rows}" rowClasses="rowOdd,rowEven" styleClass="dataTable" cellspacing="0" columnClasses="columnClass1" headerClass="headerClass" footerClass="footerClass">
                           <t:columns value="#{myDetailList.columns}" var="currentColumn">
                                      <f:facet name="header">
                                               <h:outputText value="#{currentColumn.name}"/>
                                      </f:facet>
                                      <h:outputText value="#{myDetailList.columnValue[currentColumn.name]} " style="#{myDetailList.columnValue[currentColumn.label]}" rendered="#{not myDetailList.columnValue[currentColumn.render]}" escape="false"/>
                                      <h:inputText value="#{myDetailList.columnValue[currentColumn.name]}" style="#{myDetailList.columnValue[currentColumn.label]}" rendered="#{myDetailList.columnValue[currentColumn.render]}" size="6" maxlength="15">
                                      <f:converter converterId="javax.faces.BigDecimal"/>
                                      </h:inputText>
                           </t:columns>
              </t:dataTable>
</h:panelGroup>
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 19 2007
Added on Sep 10 2007
22 comments
510 views