carboneio / carbone

Fast and simple report generator, from JSON to pdf, xslx, docx, odt...
https://carbone.io
Other
1.3k stars 190 forks source link

Cannot replicate Tutorial Bi-directionnal loop #81

Closed tomspeed22 closed 4 years ago

tomspeed22 commented 4 years ago

Hello, I do not understand why the Bi-Directional Does not work in Carbon Studio. Below the Json and the code pasted in Excel and Docx File. Thanks for your help if I am making a mistake or there is a bug.


{ d.cars[i].models[i].brand } | { d.cars[i+1].models[i].brand} { d.cars[i].models[i].name} | { d.cars[i+1].models[i].name} { d.cars[i].models[i+1].name} | { d.cars[i+1].models[i+1].name}


{ "cars": [ { "brand": "Toyota", "models": [ { "name": "Prius 2" }, { "name": "Prius 3" } ] }, { "brand": "Tesla", "models": [ { "name": "S" }, { "name": "X" } ] }, { "brand": "Lumeneo", "models": [ { "name": "Smera" }, { "name": "Néoma" } ] } ] }

steevepay commented 4 years ago

Hi @tomspeed22, thank you for reaching us! This is a known issue #45, here is a temporary solution until we fix it: https://github.com/Ideolys/carbone/issues/45#issuecomment-550362054