|
|
@ -158,8 +158,7 @@ export default class ExcelTemplateAdapter extends TemplateGenerator { |
|
|
|
.map((r: any) => r[col]) |
|
|
|
.map((r: any) => r[col]) |
|
|
|
.filter((v: any) => v !== null && v !== undefined && v.toString().trim() !== '') |
|
|
|
.filter((v: any) => v !== null && v !== undefined && v.toString().trim() !== '') |
|
|
|
|
|
|
|
|
|
|
|
const checkboxType = isCheckboxType(vals, col) |
|
|
|
if (isCheckboxType(vals, col)) { |
|
|
|
if (checkboxType.length === 1) { |
|
|
|
|
|
|
|
column.uidt = UITypes.Checkbox |
|
|
|
column.uidt = UITypes.Checkbox |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
// Single Select / Multi Select
|
|
|
|
// Single Select / Multi Select
|
|
|
|