I use the `kendo-vue-excel-export` in VUE to generate an Excel export.
Now I have two questions:
1. How to change the sheet name?
2. How to create a second sheet with different data?
My method that I use currently looks like this:
Now I have two questions:
1. How to change the sheet name?
2. How to create a second sheet with different data?
My method that I use currently looks like this:
exportExcel () {
saveExcel({
data: this.items,
fileName: "Geräte",
columns: [
{ field: 'hostname', title: 'Hostname' },
{ field: 'guid', title: 'Guid' },
{ field: 'ipaddress', title: 'IP' },
{ field: 'domain', title: 'Domain' },
{ field: 'osversion', title: 'OS Version' },
{ field: 'ostype', title: 'OS Type' },
{ field: 'videoid', title: 'Grafikkarte' },
{ field: 'diskid', title: 'Festplatte' },
{ field: 'memory', title: 'Arbeitsspeicher' },
{ field: 'cpuid', title: 'CPU' },
{ field: 'username', title: 'Benutzer' },
{ field: 'location', title: 'Lokation' },
{ field: 'office', title: 'Büro' }
]
});
},