export() - paulmaclean/datatables.webcomponent GitHub Wiki

type Function

Provides a download link to the user with the dataset, given an exportable.

Syntax

export(exportable: ExportableOpts): void

Usage

dataTable.export({'type': 'csv', 'enabled': true, 'filename': 'afilename.csv' })