xlsx Row height style problem
-
hello guys, I'm trying to create a new report but the row heights are not the same as the template.(template has 32 px row height for example) do you have any for this problem? I attached playground link and images.
playground: https://playground.jsreport.net/w/anon/09oJpm7aTemplate ScreenShot
Jsreport ScreenShot
-
hi @jackaassd this is expected, the height of row is stored on the row itself, since you are creating new rows you have to specify the height manually.
since you are removing the existing row you can get access to that height and use it for the new rows, see example here
the main change is this part:
<row ht="{{@root.$removedItem.$.ht}}" customHeight="1">
-
thank you a lot, that information very useful for me