5 Replies Latest reply on Jan 18, 2016 4:48 AM by Asim Shaikh

    Display columns in rich: columngroup

    Asim Shaikh Novice

      Hello Everyone,

      I am trying to display columns in columngroup. so Under single Date Header all Data related to date should appear, I am attaching my Current Display and Required Display. Kindly help.

       

      THIS IS MY CURRENT VIEW

             Curent_View.png

      WANT TO CHANGE IT LIKE BELOW

      Required_View.png

             

      <rich:dataTable  value="#{dailyOrderMaster.outputList}" var="daily" id="dailyhometable"

                                                                          rows="20" style="width:100%;" rowClasses="even-row, odd-row">

       

       

                                                              <rich:column style="width:15%;" id="dailyDatecol1">

                                                                  <f:facet name="header">#{lbl['label.ropdate']}</f:facet>

                                                                  <h:outputText value="#{daily.orderDateString}" id="dailyDateop1"/>

                                                              </rich:column>

       

                                                              <rich:column style="width:35%;" id="dailyDesccol2">

                                                                  <f:facet name="header">#{lbl['label.casenumber']}</f:facet>

                                                                  <h:outputText value="#{daily.orderDesc}" id="dailyDescop_1"/>

                                                                  <h:outputText value=" #{daily.caseNumber}" id="dailyDescop_2"/>

                                                              </rich:column>

       

                                                              <rich:column style="width:28%;" id="dailycol3">

                                                                  <f:facet name="header" >#{lbl['label.attachment']}</f:facet>

                                                                  <rich:dataTable  value="#{daily.files}" var="file" id="table1"

                                                                                  style="width:100%;border: 0px;">

       

                                                                      <rich:column style="width:20%;  border: 0px;" id="dailycol3_1">

                                                                          <h:outputText value="#{file.fileDescription}" id="dailyop4"/>

                                                                          <h:commandLink actionListener="#{dailyOrderMaster.downloadFile}"

                                                                                         value="#{lbl['label.download']}" id="dailycmdlnk2">

                                                                              <f:param name="fileName" value="#{file.uploadedFileName}"/>

                                                                              <f:param name="caseFileId" value="#{file.caseFileId}"/>

                                                                          </h:commandLink>

                                                                      </rich:column>

                                                                  </rich:dataTable>

                                                              </rich:column>

       

       

                                                          </rich:dataTable>

       

      Message was edited by: Asim Shaikh