Skip to content

exportables

Paul edited this page Jan 2, 2019 · 1 revision

exportables

Type: Array<ExportableOpts>

Default:

[
    {'type': 'csv', 'enabled': true, filename: 'export.csv'}
]

The exportables property sets the options for exporting a table. Currently, only csv is supported.

example

render() {
    //disable the csv export button
    return html`
        <example-data-table .exportables="${ [type:'csv', 'enabled': false] }"></example-data-table>
    `
}

Clone this wiki locally