Skip to main content

QPdfTableNode

@quik/pdf


@quik/pdf / QPdfTableNode

Interface: QPdfTableNode

Defined in: pdf/src/types.ts:109

Table node describing a pdfmake table.

Extends

Properties

alignment?

optional alignment?: "left" | "center" | "right" | "justify"

Defined in: pdf/src/types.ts:33

Optional alignment.

Inherited from

QPdfNodeBase.alignment


body

body: QPdfTableBody

Defined in: pdf/src/types.ts:125

Table body definition.


headerRows?

optional headerRows?: number

Defined in: pdf/src/types.ts:121

Number of header rows.


layout?

optional layout?: string | ObjectLiteral

Defined in: pdf/src/types.ts:129

Optional table layout name.


margin?

optional margin?: [number, number] | [number, number, number, number]

Defined in: pdf/src/types.ts:29

Optional margin for the node.

Inherited from

QPdfNodeBase.margin


pageBreak?

optional pageBreak?: "before" | "after"

Defined in: pdf/src/types.ts:37

Optional page break instruction.

Inherited from

QPdfNodeBase.pageBreak


style?

optional style?: string | string[]

Defined in: pdf/src/types.ts:25

Optional named style defined in the template styles map.

Inherited from

QPdfNodeBase.style


type

type: "table"

Defined in: pdf/src/types.ts:113

Type discriminator.


widths?

optional widths?: (string | number)[]

Defined in: pdf/src/types.ts:117

Column widths for the table.