Skip to content
Snippets Groups Projects
Commit 3899822b authored by Adam Laskowski's avatar Adam Laskowski
Browse files

BIS-1093: Fixing string detection for JExcelEditorManager

parent f514a0ec
No related branches found
No related tags found
No related merge requests found
...@@ -24,7 +24,7 @@ var JExcelEditorManager = new function() { ...@@ -24,7 +24,7 @@ var JExcelEditorManager = new function() {
// little hack because jExcelEditor.getData(false, true) is not returning processed results // little hack because jExcelEditor.getData(false, true) is not returning processed results
for(let rowIndex in values) { for(let rowIndex in values) {
values[rowIndex] = Object.values(values[rowIndex]).map((val, index) => { values[rowIndex] = Object.values(values[rowIndex]).map((val, index) => {
if(this._isString(cellData) && val.startsWith('=')) { if(_this._isString(cellData) && val.startsWith('=')) {
var row = parseInt(rowIndex)+1; var row = parseInt(rowIndex)+1;
return jExcelEditor.getValue(headers[index] + row, true); return jExcelEditor.getValue(headers[index] + row, true);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment