You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 2, 2023. It is now read-only.
Repository navigation
This repository was archived by the owner on Feb 2, 2023. It is now read-only.
Repeats value for column on next line if next value is false #223
Check example json below. The field "underAvvikling" is set to true in the first object. On the next (and on all following rows) it is set to false. Still it renders as true in excel, meaning it copies the last value. Same goes for other cells with text content.
Basically I'm changing the inherit option to only inherit previous rows data if the value in column 1 is the same as the previous row or it's null. You might need to change column 1 to a different column, whichever column your primary key falls into.
I imagine that because the primary key can fall into different columns, it's difficult to make a permanent fix for this.
Activity
ryan-tm commentedon Apr 26, 2022
I fixed this issue by surrounding line 500 with the following if statement:
Basically I'm changing the inherit option to only inherit previous rows data if the value in column 1 is the same as the previous row or it's null. You might need to change column 1 to a different column, whichever column your primary key falls into.
I imagine that because the primary key can fall into different columns, it's difficult to make a permanent fix for this.