Skip to content

Commit

Permalink
Docs: Fix exceljs API usage in the file import code example to handle…
Browse files Browse the repository at this point in the history
… shared formulas
  • Loading branch information
sequba authored Dec 10, 2024
1 parent bf325c3 commit 46bd245
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/guide/file-import.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ function convertXlsxWorkbookToJavascriptArrays(workbook) {
const rowData = [];

row.eachCell((cell) => {
const cellData = cell.value.formula ? `=${cell.value.formula}` : cell.value;
const cellData = cell.formula ? `=${cell.formula}` : cell.value;
rowData.push(cellData);
});

Expand Down

0 comments on commit 46bd245

Please sign in to comment.