Export view as Word or PDF

I’d like to export a view as a PDF or Word file including ECharts and Datagrids. Are there any options available?
Alternatively, I could generate a document using POI, but in that case I need to render the ECharts as an image. Is this possible?

Hello,

use Report add-on. I recommend using jrxml template so you can export in various formats using one report only. Or, you can make separate Word template, based on your needs. Be aware that different templates have different set of possible output formats, that’s why I recommended jrxml.

Kind regards,
Mladen

Is there any documentation or recording showing how this works? I did not anything around 'jrxlml’in the docs nor UI.

JasperReports Template - Templates :: Jmix Documentation
jrxml is file extension of JasperReports report, I guess made a typo that mislead you, sorry
Sample - Sample Reports :: Jmix Documentation

Kind regards,
Mladen

Ok this would mean, that I would design the resort with Jasper Studio, correct?
Is there a way to render a view to a PDF or trigger a print to a PDF to reuse the same vaadin view?

>Ok this would mean, that I would design the resort with Jasper Studio, correct?
Yes, but also you can do simple one by hand, or, ChatGPT or Jmix AI assistant can do that for you https://ai-assistant.jmix.io/?continue and you can fine-tune with Jasper Studio
> Is there a way to render a view to a PDF or trigger a print to a PDF to reuse the same vaadin view?
It’s more complex IMO, I guess you can try to find some JS HTML to PDF library, capture the current page HTML and convert. Or maybe invoke the browser’s Print function and then save it as PDF.