vue3 lengtMenu
vue3 lengtMenu
jemz
Posts: 131Questions: 40Answers: 1
Hi can I asked some help please, how can I change the lengthmenu default ?
<DataTable :data="datausers" :lengthMenu="lengthMenu" >
<thead>
<tr>
<th>Username</th>
<th>Email</th>
</tr>
</thead>
</DataTable>
<script setup>
const lengthMenu = [ [2, 25, 50, -1], [2, 25, 50, "All"] ];
</script>
Thank you in advance
This question has an accepted answers - jump to answer
Answers
works now I using options