Vue3 Datatable - buttons Issue
Vue3 Datatable - buttons Issue
My code
`<template>
<DataTable v-if="properties.length" :data="properties" :columns="pdtHeaders" :options="pdtOptions" class="display" ref="table">
<thead>
<tr>
<th >Name</th>
<th class="hidden md:table-cell">Address</th>
<th>Contact</th>
</tr>
</thead>
</DataTable>
</template>
<style>
@import 'datatables.net-dt';
</style>`
Only copy, csv and pdf appears in which only copy and csv works.
i have installed JSZip and PDFMake npm packages as well.
My other projects with Core PHP and JQuery are working well.
I am using Laravel11 with VUE 3 for the first time because of new project requirement.
Do not know where am i going wrong.
can anyone help?
This question has an accepted answers - jump to answer
Answers
This example shows how Buttons can work in Vue with Excel and PDF export.
If that example doesn't help you resolve the issue, please link to a StackBltiz example showing the issue so I can offer some help.
Allan
this example worked allan thank you very much for instant reply. All other issues are also solved along with it.
Much appreciated.