Get Free Trial

Export to image from drill through view doesn’t work

Ragil Irawan asked on September 29, 2021

Hello team,
Is there a way to make export-to-image work from drill through view after changing the css of the drill through view itself?
Here’s jsfiddle that reflects our project situation right now (taken from flexmonster demo page with some modifications):
In above scenario, the export-to-image option from drill through view doesn’t work.
Any help/suggestion will be much appreciated. Thank you!
Best regards,

3 answers

Mykhailo Halaida Mykhailo Halaida Flexmonster September 29, 2021

Hi Ragil,
Thank you for posting your question.
Please note that exporting the drill-through view is not supported in Flexmonster by default.
However, you can add this feature yourself with the help of html2canvas – a JavaScript library used by Flexmonster for the native image exporting functionality.
Here’s a rough sample of what it could look like (open the drill-through before pressing the new export button):
Please let us know if this helps.
Best regards,

Ragil Irawan September 30, 2021

Hello Mykhailo,
Thank you so much for the answer, it definitely helped my issue!
Best regards,

Mykhailo Halaida Mykhailo Halaida Flexmonster October 5, 2021

Hi Ragil,
Good to hear our previous response was helpful!
Just wanted to follow up on my response, which wasn’t entirely true: the drill-through view export is actually supported and works as expected when the view is not modified by additional CSS configurations.
However, this doesn’t change anything for you, the html2canvas sample is still relevant and showcases the recommended approach when you need to do custom exporting.
As always, feel free to reach out in case there is anything else we can help you with.
Kind regards,

Please login or Register to Submit Answer