Hi, I’ve a grid that I want to export to xls
When exporting data using exportdata method, columns that have special cellsrenderer function are not exported.
Is it so ?
this is the grid column that is not being exported:
{ text: ‘Estado Delphos’, datafield: ‘Estado_Delphos3′, width: 180, filtertype:’list’,
cellsrenderer: function(index, datafield, value, defaultValue, column, rowdata) {
x=””;
if( rowdata.Partner == “INTERLAB”)
if( rowdata.ARCHIVO && rowdata.ARCHIVO !== “” )
x = rowdata.Estado_Delphos + “-” + “NO GENERADO”;
else
x = rowdata.ARCHIVO;
else
if( rowdata.Partner == “QUEST” || rowdata.Partner ==”CRL” )
if( ! rowdata.FECHOR_INF || rowdata.FECHOR_INF == “” )
x = “NO GENERADO”;
else
x = “Generado->” + rowdata.FECHOR_INF;
else
if( rowdata.Estado_Delphos == “Pdf Generado->” )
x = “Pdf Gen.->” + rowdata.FEC_HOR_IMP_2;
else
x = rowdata.Estado_Delphos;
return x;
}