I want to export the table which is displayed using display tag on the jsp page.
But when I export it, it exports radio button with the table
Below is the snippet of the display tag
<display:table requestURI="CustListReportDetails.do" name="sessionScope.SESSION_CUST" id="formtable" pagesize="100" style="width:100%; border:0; cellspacing:0; cellpadding:10; align:center;" export="true">
<display:table requestURI="CustListReportDetails.do" name="sessionScope.SESSION_CUST" id="formtable" pagesize="100" style="width:100%; border:0; cellspacing:0; cellpadding:10; align:center;" export="true">
<display:column title="" style="width:10px">
<input type="radio" name="recordIdentifier" value="${formtable.customerId}" onclick="javascript:setRoleCode('${formtable.customerId}');"/>
</display:column>
<display:column property="name" title="Name" />
<display:column property="contactPerson" title="Contact Person" />
<display:column property="gender" title="Gender" />
<display:column property="dob" title="Date Of Birth" />
<display:setProperty name="export.excel.filename" value="Customer_reportExcel.xls" />
</display:table>
The desired xsl file should not have radio button in it.
The problem is solved
In the display column tag containing radio button,I have placed media =”html” and now it doesn’t export radio button in the excel sheet
code changed in the above snippet::