You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by Nikita Shah <ni...@yahoo.co.in> on 2006/03/17 13:06:16 UTC
Fix the Header of Datatable
Hi all
As mentioned in the earlier post of this subject, I want to make the header of the DataTable fixed.
Below is the jsp code :
<h:dataTable id="taTable" border="1"
styleClass="sortable"
headerClass="groupTable_Header"
rowClasses="groupTable_Row"
columnClasses="groupTable_Column"
var="groups"
value="#{nodes.groups}"
cellpadding="0"
; cellspacing="0">
<h:column>
<f:facet name="header">
<h:outputText value="Group" />
</f:facet>
<h:outputText value="#{groups.name} " />
</h:column>
<h:column>
<f:facet name="header">
<h:outputText value="Target" />
</f:facet>
<h:outputText value="#{groups.target}" />
</h:column>
<h:column>
<f:facet name="header">
<h:outputText value="Actual" />
</f:facet>
<h:outputText value="#{groups.actual}" />
</h:column>
</h:dataTable>
</h:panelGroup>
<f:verbatim></DIV></f:verbatim>
</t:column> </t:dataTable>
This table i have placed inside the DIV element with auto overflow.
How do i manipulate so as to prevent the scrolling of headers..?
Are there any possible solutions to this .. ?
Any help would be appreciated.
TIA
~Nikita Shah
---------------------------------
Jiyo cricket on Yahoo! India cricket
Yahoo! Messenger Mobile Stay in touch with your buddies all the time.