rich:extendedDatatable在右端添加一个额外的空白列

时间:2013-08-12 14:13:46

标签: richfaces

extendedDatatable在右端添加一个额外的空白列,如何删除这个额外的列?

 
<rich:extendedDataTable width="100%"
value="#{entitlementean.conflictResolutions}" var="conflict"
sortMode="single" rowClasses="odd, even" rowKeyVar="row">

<rich:column width="50%">
    <f:facet name="header">
        <h:outputLabel value="product" />
    </f:facet>
    <h:outputLabel value="#{conflict.productName}" />
</rich:column>

<rich:column " width="50%">
    <f:facet name="header">
        <hutputLabel value="function" />
    </f:facet>
    <h:outputLabel value="#{conflict.conflictField}" />
</rich:column>

1 个答案:

答案 0 :(得分:0)

我尝试删除额外的引用,但在此之后看到额外的列。

<rich:extendedDataTable width="100%"
value="#{entitlementean.conflictResolutions}" var="conflict"
sortMode="single" rowClasses="odd, even" rowKeyVar="row">

<rich:column width="50%">
    <f:facet name="header">
        <h:outputLabel value="product" />
    </f:facet>
    <h:outputLabel value="#{conflict.productName}" />
</rich:column>

<rich:column width="50%">
    <f:facet name="header">
        <hutputLabel value="function" />
    </f:facet>

<h:outputLabel value="#{conflict.conflictField}" />