1 Reply Latest reply on May 2, 2008 10:32 AM by Ilya Shaikovsky

    scrollable datatable

    k dcosta Newbie

      hi


      i am using a <rich:scrollableDataTable> with four columns.
      i want to sub divide the fourth column again into four.


      <rich:column width="200" id="role" headerClass="listhead" sortable="false">
      
      <f:facet name="header">
      <h:outputText value="Role" />
      
      /f:facet>
      <h:outputText value="#{user.role}"/>
      
      </rich:column>
      




      When i searched, i read that i can use column group and breakBefore attribute.
      when i tried it i am not getting it correctly.
      the example i got defined the header.
      <f:facet name="header">
      
       <rich:columnGroup>
      
       <rich:column rowspan="2">
      
       <h:outputText value="State Flag"/>
      
       </rich:column>
      
       <rich:column colspan="3">
      
       <h:outputText value="State Info"/>
      
       </rich:column>
      
       <rich:column breakBefore="true">
      
       <h:outputText value="State Name"/>
      
       </rich:column>
      
       <rich:column>
      
       <h:outputText value="State Capital"/>
      
       </rich:column>
      
       <rich:column>
      
       <h:outputText value="Time Zone"/>
      
       </rich:column>
      
       </rich:columnGroup>
      
       </f:facet>
      


      How can i define the ricj:column comind under each header correctly.

      plz help me with this.

      rgds