I have few columns in the Data Table which displays the column name and row values dynamically. But the first column in the data table have the values which has link. when we click that value it redirects to other screen.
Problem is when we export the csv/excel report. The first column which has this hyperlink not displaying the exact values. it shows as below in the excel
org.primefaces.component.column.Column@72d586ad - instead of exact value like "S123456789"
Please suggest how to display the exact value in the excel and csv.
<p:column headerText="#{msg['column.header']}" width="100" styleClass="columnLeft" filterBy="#{sampleDTO.linkNum}" sortBy="#{sampleDTO.linkNum}" id="linkNum">
<e:dataTableCommandLink id="viewTestLink" index="#{index}" value="#{sampleDTO.linkNum}" bean="#{sampleListBean}" action="viewLinkViewer"
ajax="false" currentDto="#{sampleDTO}"/>
</p:column>
Thanks in advance Nithyn K
<p:link id="lnkUrl" href="#{splunkUrlProvider.getSplunkUrl(row)}" value="#{row.eventCorrelation}" target="_splunk" />and it exports fine as the value invalue. - Melloware<p:columncode above in your issue? - Melloware