Export file excel in a subtable.
In my record that have a subtable that I need to export to a file excel, how do i do that?
12 replies
-
Here is what the docs say.
-
Looks like in 3.12, there will be the ability to export to excel through code, createXLSX().
-
So this is what I have tried to do in with CreateLSX() function:
let columns := [{
header: "Name",
key: "name",
width: 10
}, {
header: "Age",
key: "age",
width: 10
}];
let rows := [select SHIPPING;
{
name: this.SHIPPING.'NGUOI NHAN (RECEIVER)'.'NGUOI GUI'.TEN,
age: this.SHIPPING.'SO LBS'
}];
let worksheets := {
Sheet1: {
columns: columns,
rows: rows
}
};
Image := createXLSX(this, worksheets, "example.xlsx")it return a file excel like this.
A Positive thing is it select the right data, but it using like a concat function.
can you help me with this? Thanks you.
Content aside
- 6 mths agoLast active
- 12Replies
- 154Views
-
3
Following