ParamQuery grid support forum
General Category => ParamQuery Pro Evaluation Support => Topic started by: cui on January 20, 2025, 09:06:00 am
-
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
-
I misunderstood the usage of exportRender. I want to know how to export the render result.
-
Hi,
I have a table that contains images, and I want to know how to export this table to an XLSX file that includes the images.
Could you please provide some guidance on how to resolve this issue?
{
title: '图片',
dataIndx: 'image',
align: 'center',
filter: {},
exportRender: false,
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
-
Only floating images can be exported.
Images in cells are not exportable currently; its support would be added in the upcoming versions. thanks for your feedback.
-
Okay,thank you for your response.