How can I export data when they are in a “form” view?
The existing functions of webix.toPDF, webix.toExcel, etc. only seems to work for datatables?
How can I export data when they are in a “form” view?
The existing functions of webix.toPDF, webix.toExcel, etc. only seems to work for datatables?
Hello,
Any data can exported to Excel.
You can create a Webix DataCollection
to gather all the data from form, and then export it.
Addictionaly export to PDF has many options. For example, you can use webix.toPDF
method with option display:"image"
.
DataCollection
must be destroyed after export, so as not to store unnecessary data in memory.
Here is an example how you can do it:
https://snippet.webix.com/85v5tcg8
@annazankevich
Hi, I think my question is related to this discussion. Other than [display:“image”], what else can we display as (from Form).
And If I want to export to PDF with Master - Detail relation where should I start? For example, I want to make a form for master as header and maybe footer, and center is filled with detail-table for every pages.
Thanks