Hi,
I'm encountering an issue with the exportRender property where it fails to function as expected. According to the documentation, I've set exportRender: true with the intention of enabling image export functionality. However, this setting does not seem to have the desired effect, and images are not being exported.
Could you please provide some guidance on how to resolve this issue?
{
title: '图片',
dataIndx: 'image',
align: 'center',
filter: {},
exportRender: true,
editable: false,
render(ui) {
if (ui.cellData) {
return `<img src='${ui.cellData}' style="height: 20px;"/>`
}
},
},
Thank you very much for your assistance.
Best regards,
cui