using version 5.3
Loading dynamic grid with datatype: xml and using the following code to export to excel on click
1 2 3 4 5 6 7 |
mygrid.jqGrid('setGridParam',{loadonce:true}).trigger('reloadGrid'); setTimeout(function(){ mygrid.jqGrid('exportToExcel',{ fileName:"export.xlsx" }); mygrid.jqGrid('setGridParam',{datatype:'xml',loadonce:false}); },500); |
Works great, but I have link in the xml data for example
<row><a href="somepage.html">View</a></row>
When exported to excel it shows as html encoded
<a href="somepage.html" >View</a>
Is there anyways to strip links/html when exporting to excel
Please advise
Kris
Guriddo Customer
Copyright 2014 TriRand LtdAll Rights ReservedRSS
Back to Top