json-as-xlsx icon indicating copy to clipboard operation
json-as-xlsx copied to clipboard

Columns with `.` in their name get ignored

Open LowNightSnack opened this issue 2 years ago • 1 comments

It seems columns with . in their names get ignored. Example:

xlsx([{sheet: "test", columns: [{label: "Ex. Rate", value: "Ex. Rate"}], content: [{"Ex. Rate": 1}, {"Ex. Rate": 1}, {"Ex. Rate": 1}, {"Ex. Rate": 1}], {fileName: "Test"})

LowNightSnack avatar Dec 05 '23 10:12 LowNightSnack

If this is not how should the function should be used, please add this in the docs. If there is something I can help with, I'll contribute too.

LowNightSnack avatar Dec 05 '23 10:12 LowNightSnack