I have seen a lot of examples, all of which are used to set
in the following way.cell.s = {
font: { color: { rgb: "ffff00" } },
fill: { bgColor: { rgb: "ffff00" } }
}
I tried and found that it didn"t work, but the style worked when I replaced the xlsx package with xlsx-style (all the previously exported data has been written the same).
I want to know why it doesn"t work with the xlsx package, is it that the package itself doesn"t support it, or is it that there"s something wrong with my writing? Hope God"s advice!