Fixed #1278 - No exportFunction, it's called but not defined.
parent
003aec4247
commit
c0e13b0cd9
|
@ -197,6 +197,12 @@ const DataTableProps = [
|
||||||
default: "download",
|
default: "download",
|
||||||
description: "Name of the exported file."
|
description: "Name of the exported file."
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
name: "exportFunction",
|
||||||
|
type: "function",
|
||||||
|
default: "null",
|
||||||
|
description: "Custom function to export data."
|
||||||
|
},
|
||||||
{
|
{
|
||||||
name: "autoLayout",
|
name: "autoLayout",
|
||||||
type: "boolean",
|
type: "boolean",
|
||||||
|
|
|
@ -215,6 +215,10 @@ export default {
|
||||||
type: String,
|
type: String,
|
||||||
default: 'download'
|
default: 'download'
|
||||||
},
|
},
|
||||||
|
exportFunction: {
|
||||||
|
type: Function,
|
||||||
|
default: null
|
||||||
|
},
|
||||||
autoLayout: {
|
autoLayout: {
|
||||||
type: Boolean,
|
type: Boolean,
|
||||||
default: false
|
default: false
|
||||||
|
|
|
@ -2033,6 +2033,12 @@ export default {
|
||||||
<td>string</td>
|
<td>string</td>
|
||||||
<td>download</td>
|
<td>download</td>
|
||||||
<td>Name of the exported file.</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>
|
||||||
<tr>
|
<tr>
|
||||||
<td>autoLayout</td>
|
<td>autoLayout</td>
|
||||||
|
|
Loading…
Reference in New Issue