Primefaces rowExpansion在Primefaces 3.5中不起作用
我试图在我的数据表中使用p:rowtogler和p:rowExpansion。它在primefaces 3.2上运行良好,最近我升级到primefaces 3.5。从那时起,它就不起作用了。下面是带有roToggler和rowExpansion的数据表Primefaces rowExpansion在Primefaces 3.5中不起作用,primefaces,datatable,row,Primefaces,Datatable,Row,我试图在我的数据表中使用p:rowtogler和p:rowExpansion。它在primefaces 3.2上运行良好,最近我升级到primefaces 3.5。从那时起,它就不起作用了。下面是带有roToggler和rowExpansion的数据表 <p:datatable value="#{myBean.valueList}"> <p:column> <p:rowToggler/> </p:column> <p:rowExpansion
<p:datatable value="#{myBean.valueList}">
<p:column>
<p:rowToggler/>
</p:column>
<p:rowExpansion>
...
</p:rowExpansion>
</p:datatable>
任何帮助都将不胜感激
谢谢
Praveen请尝试以下操作
<p:dataTable var="education"
value="#{backingBean.schoolList}"
reflow="true"
paginator="true"
sortMode="multiple"
emptyMessage="No records found."
rows="#{backingBean.rowsPerPage}">
<p:column headerText="Details" styleClass="Wid10">
<p:rowToggler expandLabel="Show" collapseLabel="Hide" icon="ui-icon-close"/>
</p:column>
<p:column headerText="Center">
<h:outputText value="#{education.centerName}"/>
</p:column>
<p:column headerText="Address">
<h:outputText value="#{education.addr}" />
</p:column>
<p:rowExpansion>
<p:outputLabel value="Course: " styleClass="FontBold" />
<BR />
<h:outputText value="#{education.course}" />
<Br />
<p:outputLabel value="Details: " styleClass="FontBold" />
<BR />
<h:outputText value="#{education.details}" />
</p:rowExpansion>
</p:dataTable>
清除浏览器缓存、tomcat临时文件等。相信我。