Documentation

@kanunilabs/pivotgrid-enterprise


@kanunilabs/pivotgrid-enterprise / drawAutoTable

Function: drawAutoTable()

drawAutoTable(doc, options): Promise<boolean>

Draw a table into a jsPDF document, whichever way autoTable arrived.

The script-tag build patches doc.autoTable; the module build exports a function taking the document. Preferring the instance method means a page that loaded the plugin the ordinary way needs no module resolution at all.

Parameters

doc

Record<string, unknown>

options

Record<string, unknown>

Returns

Promise<boolean>