开发者

How to implement verticall scrolling on mouse over in a <rich:datatable> in jsf+richfaces?

开发者 https://www.devze.com 2023-01-18 13:35 出处:网络
Can any one help inachiving 开发者_运维技巧thisrequirement. Is thereanyattribute inrich:datatablehas this ?Use ExtendedDataTable

Can any one help in achiving 开发者_运维技巧this requirement. Is there any attribute in rich:datatable has this ?


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>
0

精彩评论

暂无评论...
验证码 换一张
取 消