[英]How to implement verticall scrolling on mouse over in a <rich:datatable> in jsf+richfaces?
Can any one help in achiving this requirement. 任何人都可以帮助实现这一要求。 Is there any attribute in rich:datatable has this ?
rich:datatable中有任何属性吗?
Use Extended DataTable 使用扩展数据表
Here is sample working code for the same 这是相同的示例工作代码
<div id="production-list-header-div">
<rich:dataTable columns="3" columnsWidth="80,300" style="width: 100%;">
<rich:column sortable="false">
<f:facet name="header">
<h:outputText value="Projectnr." />
</f:facet>
</rich:column>
<rich:column sortable="false">
<f:facet name="header">
<h:outputText value="Gidstitel" />
</f:facet>
</rich:column>
<rich:column sortable="false">
<f:facet name="header">
</f:facet>
</rich:column>
</rich:dataTable>
</div>
<div id="production-list-rows-div" style="background-image: url('../images/div-border-left.jpg'); background-repeat: repeat-y; height: 400px; overflow: scroll;">
<rich:dataTable value="#{productionHandler.productions}" var="prod"
columns="3" columnsWidth="80,300"
style="border-top-width: 0px; width: 100%;">
<rich:column sortable="false" >
<h:outputText value="#{prod.code}" />
</rich:column>
<rich:column sortable="false">
<h:outputText value="#{prod.broadcastTitle}" />
</rich:column>
<rich:column sortable="false">
</rich:column>
</rich:dataTable>
</div>
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.