1 Reply Latest reply on Sep 29, 2015 2:54 AM by asimshaikh1

    Grouping of  Rows DateWise

    asimshaikh1

      Hello Everyone I want to add Group to rows for every single date. after date change a spacer between rows should be displayed.how to achieve this ???

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