1 Reply Latest reply on Oct 7, 2015 4:23 AM by Michal Petrov

    Display Data into multiple columns

    Asim Shaikh Novice

      Hello, I am stuck with this. I have column attachment with multiple values (Value1 and Value2) now I wanted to display Value1 in one column and Value2 in other 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>

       

      Column
      Value1
      Value2
      Value3
      Value4

        Now I wanted to display each value in seperate columns.How to do this ????

      column1
      Value1
      Column2
      Value2
      Column3
      Value3