Fixed #1278 - No exportFunction, it's called but not defined.

pull/1383/head
Cagatay Civici 2021-07-26 11:26:00 +03:00
parent 003aec4247
commit c0e13b0cd9
3 changed files with 16 additions and 0 deletions

View File

@ -197,6 +197,12 @@ const DataTableProps = [
default: "download",
description: "Name of the exported file."
},
{
name: "exportFunction",
type: "function",
default: "null",
description: "Custom function to export data."
},
{
name: "autoLayout",
type: "boolean",

View File

@ -215,6 +215,10 @@ export default {
type: String,
default: 'download'
},
exportFunction: {
type: Function,
default: null
},
autoLayout: {
type: Boolean,
default: false

View File

@ -2033,6 +2033,12 @@ export default {
<td>string</td>
<td>download</td>
<td>Name of the exported file.</td>
</tr>
<tr>
<td>exportFunction</td>
<td>function</td>
<td>download</td>
<td>Custom function to export data.</td>
</tr>
<tr>
<td>autoLayout</td>