|
@@ -291,9 +291,14 @@ let ColSettingObj = {
|
|
|
if (cell.text() !== '') {
|
|
|
col.data.getText = cell.text();
|
|
|
}
|
|
|
- setting.cols.push(col);
|
|
|
// wordWrap
|
|
|
col.data.wordWrap = sheet.getValue(setting.headRows + this.Rows.wordWrap, iCol) || false;
|
|
|
+ // cellType
|
|
|
+ cell = sheet.getCell(setting.headRows + this.Rows.cellType, iCol);
|
|
|
+ if (cell.text() !== '') {
|
|
|
+ col.data.cellType = cell.text();
|
|
|
+ }
|
|
|
+ setting.cols.push(col);
|
|
|
}
|
|
|
return setting;
|
|
|
}
|