You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The WS constant add spaces using the addSpaces method in lib.js line 3.
convert the WS to a parameter and send to it the Delimiter so for example if you assign '\t' to it you can copy an past the result to Excel without any issue.
change file lib.js lines 19,20,21 to:
this is a basic example , the best way is to convert the WS constant to parater.
The WS constant add spaces using the addSpaces method in lib.js line 3.
convert the WS to a parameter and send to it the Delimiter so for example if you assign '\t' to it you can copy an past the result to Excel without any issue.
change file lib.js lines 19,20,21 to:
const getRow = function (headers, startPoints, isHeaderRow, obj) {
let row = ES;
headers.forEach((header, index) => {
const value = isHeaderRow ? header : obj[header];
row += typeof value === 'object' ? removeDoubleQuotes(JSON.stringify(value)) : value;
//const spaceCount = startPoints[index + 1] - row.length;
//row = addSpaces(row, spaceCount);
row += '\t';
});
return row;
};
The text was updated successfully, but these errors were encountered: