DocumentTitle
When exporting a grid using the GridExportOptions model and GridBase.exportGrid(), set the title, subtitle, and footer of the Excel document. model for
Signature:
export interface DocumentTitle
Remarks
GridExportOptions.documentTitle, documentSubtitle, [documentTail](/refs/Interface /GridExportOptions#documenttail).
Properties
Property | Type | Description |
---|---|---|
height | number | Full height of title |
message | string | Message (subject) to set Contents |
spaceBottom | number | Margin below (row) |
spaceTop | number | top margin (row) |
styleName | string | className to be applied to title |
styles | string | Styles to apply to cells |
visible | boolean | Whether to print to Excel |
Properties Desc
height
Total height of title
Type
- number
Remarks:
If the height is not specified (if it is -1
), it is displayed as 1 row.
message
Message (subject) content to set
Type
- string
spaceBottom
Margin below (row)
Type
- number
spaceTop
Top margin (row)
Type
- number
styleName
className to be applied to title
Type
- string
Remarks:
If styleName is set, styles are not applied.
styles
Styles to apply to cells
Type
- string
visible
Whether to print to Excel
Type
- boolean