1 2 Previous Next 18 Replies Latest reply on Nov 25, 2009 6:21 AM by jyothi challa

    Display issues with rich:extendedDataTable and rich:column

    Daniel Dausch Newbie

      I have a couple of display issues with this combination of rich:extendedDataTable and rich:column. I have attempted to tightly control the spacing of the data table hence the use of specific widths. I actually get both vertical and horizontal scroll bars. However, the second column is basically squished in even though i define the width as 80px. Any thoughts? Secondly, I have defined a sortBy for the first col. I thus receive the 'Group by this column' option on the drop downs for the column. It works very nicely however, the line that displays with the + and - to expand and contract the group is slightly cutoff. Any thoughts on how to manipulate/modify this?

      Here is my code:

      <rich:extendedDataTable border="0" cellpadding="1" cellspacing="0"
      columnClasses="columnClass1" headerClass="headerClass"
      footerClass="footerClass" rowClasses="rowClass1, rowClass2"
      id="table2" styleClass="dataTable"
      style="text-align: left; border-color:blue;"
      value="#{AcrViewController.aclsByAcr}" var="acls" rows="0"
      height="280px" width="730px">

      <rich:column id="acl_desc" headerClass="dataTableHeader"
      sortBy="#{acls.aclDesc}" width="200px" label="Access Level">
      <f:facet name="header">
      <h:outputText value="Access Level"/>
      </f:facet>
      <h:outputText id="text1" styleClass="outputText"
      value="#{acls.aclDesc}"></h:outputText>

      </rich:column>
      <rich:column id="corp_id" headerClass="dataTableHeader"
      width="80px" label="Corp Id">
      <f:facet name="header">
      <h:outputText value="Corp ID"/>
      </f:facet>
      <h:outputText id="text2" styleClass="outputText"
      value="#{acls.corpId}">
      </h:outputText>
      </rich:column>

      <rich:column id="last_nm" headerClass="dataTableHeader"
      width="90px" label="Last Nm">
      <f:facet name="header">
      <h:outputText value="Last Name"/>
      </f:facet>
      <h:outputText id="text3" styleClass="outputText"
      value="#{acls.lastNm}">
      </h:outputText>
      </rich:column>

      <rich:column id="first_nm" headerClass="dataTableHeader"
      width="90px" label="First Nm">
      <f:facet name="header">
      <h:outputText value="First Name"/>
      </f:facet>
      <h:outputText id="text4" styleClass="outputText"
      value="#{acls.firstNm}">

      </h:outputText>
      </rich:column>

      <rich:column id="primary_mgr" headerClass="dataTableHeader"
      width="150px" label="Manager">
      <f:facet name="header">
      <h:outputText value="Manager"/>
      </f:facet>
      <h:outputText id="text5" styleClass="outputText"
      value="#{acls.primaryMgr}">

      </h:outputText>
      </rich:column>

      <rich:column id="fid_dept" headerClass="dataTableHeader"
      width="170px" label="Company">
      <f:facet name="header">
      <h:outputText value="Company"/>
      </f:facet>
      <h:outputText id="text6" styleClass="outputText"
      value="#{acls.fidCoDept}">

      </h:outputText>
      </rich:column>

      </rich:extendedDataTable>

        1 2 Previous Next