Skip to content

Commit 520dd0c

Browse files
committed
[add] header/footer params for the export object of the pdf() method
1 parent df8c9a5 commit 520dd0c

File tree

3 files changed

+15
-5
lines changed

3 files changed

+15
-5
lines changed

docs/chart/api/export/chart_pdf_method.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,8 @@ description: You can explore the pdf method of Chart in the documentation of the
3939
- `title` - (optional) document name
4040
- `pageNumber` - (optional) current page number
4141
- `totalPages` - (optional) total pages in the document
42+
- `header?: string` - (optional) an HTML template for the header in the exported file
43+
- `footer?: string` - (optional) an HTML template for the footer in the exported file
4244

4345

4446
@example:
@@ -78,7 +80,8 @@ It is necessary to set sufficient margin for correct display of `headerTemplate`
7880
**Related API:** [exportStyles](chart/api/chart_exportstyles_config.md)
7981

8082
**Change log:**
83+
- The **header** and **footer** options of the export object were added in v8.4
8184
- The **theme**, **exportStyles** options of the export object were added in v8.1
82-
- The **pageRanges**, **displayHeaderFooter**, **footerTemplate**, **headerTemplate** options of the pdf object were added in 8.1
83-
- The method was added in v8.0
85+
- The **pageRanges**, **displayHeaderFooter**, **footerTemplate**, **headerTemplate** options of the pdf object were added in v8.1
86+
- Added in v8.0
8487

docs/grid/api/export/grid_pdf_method.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,8 @@ description: You can explore the pdf export method of Grid in the documentation
4040
- `title` - (optional) document name
4141
- `pageNumber` - (optional) current page number
4242
- `totalPages` - (optional) total pages in the document
43+
- `header?: string` - (optional) an HTML template for the header in the exported file
44+
- `footer?: string` - (optional) an HTML template for the footer in the exported file
4345

4446

4547
@example:
@@ -88,4 +90,6 @@ If you use Grid in conjunction with [Pagination](pagination.md), only the displa
8890

8991
**Related API:** [exportStyles](grid/api/grid_exportstyles_config.md)
9092

91-
**Change log:** Added in v8.1
93+
**Change log:**
94+
- The **header** and **footer** options of the export object were added in v8.4
95+
- Added in v8.1

docs/treegrid/api/export/treegrid_pdf_method.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,8 @@ description: You can explore the pdf export method of TreeGrid in the documentat
4040
- `title` - (optional) document name
4141
- `pageNumber` - (optional) current page number
4242
- `totalPages` - (optional) total pages in the document
43-
43+
- `header?: string` - (optional) an HTML template for the header in the exported file
44+
- `footer?: string` - (optional) an HTML template for the footer in the exported file
4445

4546
@example:
4647
// default export
@@ -88,4 +89,6 @@ If you use TreeGrid in conjunction with [Pagination](pagination.md), only the di
8889

8990
**Related API:** [exportStyles](treegrid/api/treegrid_exportstyles_config.md)
9091

91-
**Change log:** Added in v8.1
92+
**Change log:**
93+
- The **header** and **footer** options of the export object were added in v8.4
94+
- Added in v8.1

0 commit comments

Comments
 (0)