Hi Isomorphic,
I was trying to recreate another issue, when I noticed this issue with formatValue in combination with canFilter:false, where the string is also applied in the filterRow.
Please see this modified sample (v12.0p_2020-04-10):

Best regards
Blama
I was trying to recreate another issue, when I noticed this issue with formatValue in combination with canFilter:false, where the string is also applied in the filterRow.
Please see this modified sample (v12.0p_2020-04-10):
Code:
isc.ListGrid.create({
ID: "countryList",
width:500, height:224, alternateRecordStyles:true,
data: countryData, showFilterEditor: true,
fields:[
{name:"countryCode", title:"Flag", width:50, type:"image", imageURLPrefix:"flags/16/", imageURLSuffix:".png"},
{name:"countryName", title:"Country"},
{name:"independence", title:"Nationhood", type:"date", width: "25%",
formatCellValue: function (value) {
if (isc.isA.Date(value)) {
return (new Date().getYear() - value.getYear()) + " years ago";
}
}
},
{name:"area", title:"Area", type:"number", canFilter:false,
formatCellValue: "isc.NumberUtil.format(value, ',0') + ' km²'"
}
]
})
Best regards
Blama
Comment