mirror of
https://github.com/WebTools-NG/WebTools-NG
synced 2025-02-17 03:48:25 +00:00
Merge pull request #66 from WebTools-NG/#14-ET-Excel-export
#14 Add background to header column
This commit is contained in:
commit
7b1ae7ee5a
1 changed files with 7 additions and 0 deletions
|
@ -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',
|
||||
|
|
Loading…
Add table
Reference in a new issue