localizable-sheet-script
localizable-sheet-script copied to clipboard
Tiny bug for HEADER_ROW_POSITION
I found a problem when I changed HEADER_ROW_POSITION
The reason may be at line 278
var headersRange = sheet.getRange(1, FIRST_COLUMN_POSITION, HEADER_ROW_POSITION, sheet.getMaxColumns());
It should be
var headersRange = sheet.getRange(HEADER_ROW_POSITION, FIRST_COLUMN_POSITION,1, sheet.getMaxColumns());
Please confirm then fix it if I correct
Confirm this, problem in the function getNormalizedHeaders(sheet, options)
.
function getRowsData_(sheet, options)
uses the correct argument order already