From 54517bf04e9c4c7c79bac16b4983ab7e8fdbdafa Mon Sep 17 00:00:00 2001 From: Simon Jodet Date: Wed, 25 Jan 2017 14:20:49 +0100 Subject: [PATCH] Fix sheets with links and data validations --- lib/xlsx/xform/sheet/worksheet-xform.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/xlsx/xform/sheet/worksheet-xform.js b/lib/xlsx/xform/sheet/worksheet-xform.js index 8c17fc6da..3c6863cca 100644 --- a/lib/xlsx/xform/sheet/worksheet-xform.js +++ b/lib/xlsx/xform/sheet/worksheet-xform.js @@ -115,8 +115,8 @@ utils.inherits(WorkSheetXform, BaseXform, { this.map.cols.render(xmlStream, model.cols); this.map.sheetData.render(xmlStream, model.rows); this.map.mergeCells.render(xmlStream, model.mergeCells); - this.map.hyperlinks.render(xmlStream, model.hyperlinks); this.map.dataValidations.render(xmlStream, model.dataValidations); + this.map.hyperlinks.render(xmlStream, model.hyperlinks);//For some reason hyperlinks have to be after the data validations this.map.pageMargins.render(xmlStream, pageMarginsModel); this.map.printOptions.render(xmlStream, printOptionsModel); this.map.pageSetup.render(xmlStream, model.pageSetup);