Fixed #941 - DataTable, exportCSV failed: TypeError: Cannot read property 'type' of undefined

pull/973/head
Cagatay Civici 2021-02-04 16:13:49 +03:00
parent 5c0e0bf95d
commit c6c7504399
3 changed files with 11 additions and 0 deletions

View File

@ -28,6 +28,7 @@ declare class Column extends Vue {
reorderableColumn?: boolean;
rowEditor?: boolean;
frozen?: boolean;
exportable?: boolean;
}
export default Column;

View File

@ -109,6 +109,10 @@ export default {
frozen: {
type: Boolean,
default: false
},
exportable: {
type: Boolean,
default: true
}
},
render() {

View File

@ -303,6 +303,12 @@ export default {
<td>false</td>
<td>Whether the column is fixed in horizontal scrolling.</td>
</tr>
<tr>
<td>exportable</td>
<td>boolean</td>
<td>true</td>
<td>Whether the column is included in data export.</td>
</tr>
</tbody>
</table>
</div>