Merge pull request #66 from WebTools-NG/#14-ET-Excel-export

#14 Add background to header column
This commit is contained in:
Tommy Mikkelsen 2020-06-14 21:34:36 +02:00 committed by GitHub
commit 7b1ae7ee5a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -77,6 +77,13 @@ const excel = new class Excel {
columns.push(column)
}
Sheet.columns = columns
// Add background to header column
Sheet.getRow(1).fill = {
type: 'pattern',
pattern:'solid',
fgColor:{ argb:'729fcf' }
}
/* Sheet.autoFilter = {
from: 'A1',
to: 'D1',