Hi everyone,
I use below column code in my colModel, but when I exported grid with exportData method and this render option is true , although column option "exportrender:true" I show in exported excel file on "Avaliability" column 'true or false' not 'Available or Not Available'. Can you help me on my problem? Thanks in advance.
{
title: "Availability",
dataType: "bool",
dataIndx: "Availability",
editable: false,
resizable: true,
width: 75,
maxWidth: 150,
align: "center",
filter: { type: 'checkbox', condition: 'equal', subtype: 'triple', listeners: ['click'] },
render: function (ui) {
return { text: ui.cellData === true ? "Available" : "Not Available" };
},
exportRender : true
}