Multiple selecting

Using the v-model:items-selected will enable you to gather data of specific items by toggling checkbox on.

Example

<EasyDataTable
  v-model:items-selected="itemsSelected"
  :headers="headers"
  :items="items"
/>

<script lang="ts" setup>
import { ref } from "vue";
const itemsSelected = ref<Item[]>([]);
...
</script>

Edit on CodeSandboxopen in new window

PLAYERTEAMNUMBERPOSITIONHEIGHTWEIGHT (lbs)LAST ATTENDEDCOUNTRY
Stephen CurryGSW30G6-2185DavidsonUSA
Lebron JamesLAL6F6-9250St. Vincent-St. Mary HS (OH)USA
Kevin DurantBKN7F6-10240Texas-AustinUSA
Giannis AntetokounmpoMIL34F6-11242FilathlitikosGreece

items selected:
[]