From 5f4d99204347dc9b3d7b78dbf6d40d3359b4b79a Mon Sep 17 00:00:00 2001 From: Mauricio Ferraz Date: Tue, 4 Sep 2018 14:48:04 -0300 Subject: [PATCH] Fixed example code on README.md "fill" parameter was in a separate curly braces than the other options to modify the cell, which caused xlsx-style to ignore the value. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 683d2b2..716fa1b 100644 --- a/README.md +++ b/README.md @@ -70,7 +70,7 @@ var workbook = new Workbook() {"v": 0.618033989}, {"v": 0.618033989, "t": "n"}, {"v": 0.618033989, "t": "n", "s": { "numFmt": "0.00%"}}, - {"v": 0.618033989, "t": "n", "s": { "numFmt": "0.00%"}, fill: { fgColor: { rgb: "FFFFCC00"}}}, + {"v": 0.618033989, "t": "n", "s": { "numFmt": "0.00%", fill: { fgColor: { rgb: "FFFFCC00"}}}}, [(new Date()).toLocaleString()] ] ]).mergeCells("Main", {