vue3 lengtMenu

vue3 lengtMenu

jemzjemz Posts: 131Questions: 40Answers: 1
edited October 2022 in Free community support

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

  • jemzjemz Posts: 131Questions: 40Answers: 1
    edited October 2022 Answer ✓

    works now I using options

Sign In or Register to comment.