例:
<rich:extendedDataTable id="myTable" var="item" value="#{itemsList}" width="992px" height="435px">
<rich:column width="957px">
<f:facet name="header" value="Message">
<h:outputText value="#{item.message}"/>
</f:facet>
<rich:column>
<rich:column width="17px">
<f:facet name="header" value="">
<h:outputText value=""/>
</f:facet>
<rich:column>
</rich:extendedDataTable>
<script>
///右に17pxの列は、スクロールバーの幅を確保する
$('myTable:sd').style.overflowY = "scroll";
</script>
Google+
By Zhang Wenxu |
投稿 >