jxls
jxls copied to clipboard
When I am utilizing nested loops, an extraneous row is inexplicably created.
The template is
The plots data is
[
{
"name": "PlotA",
"customers": [
{
"name": "Customer1",
"products": [
{
"name": "Product1",
"unit_price": 83.5,
"van": 987,
"net_weight": 341231.8,
"volume": 981231.07,
"amount": 13213128.11
},
{
"name": "Product2",
"unit_price": 83.5,
"van": 987,
"net_weight": 341231.8,
"volume": 981231.07,
"amount": 13213128.11
}
]
}
]
}
]
The result I am expecting is as follows:
But the actual result I get includes an extra seventh row.
This is my test project test-jxls.zip
Thanks for submitting the zip file. Maybe I'll take a look later.
Looks like we have several problems with jx:mergeCells. Does the additional row also will be created if you omit jx:mergeCells?
I don't use jx:mergeCells. So I don't have much motivation to work on it.
Thanks for submitting the zip file. Maybe I'll take a look later.
Looks like we have several problems with jx:mergeCells. Does the additional row also will be created if you omit jx:mergeCells?
I don't use jx:mergeCells. So I don't have much motivation to work on it.
Thanks for your reply, but when I remove all jx:mergeCells, extra rows are still created
Please fork this repo and create a testcase. Create a minimal template from scratch using MS Excel.