setting orders as array of 200 simple elements, like [{ id: [uniqueId] }],
sorting and selection performance is really bad.
We tried with old version 3.8.0, and the problem doesn't occur,
with the last version (3.12.0) yes instead.
Code: Select all
<DataTable
:value="orders"
dataKey="id"
v-model:selection="selectedOrders">
<Column
selectionMode="multiple"
:headerStyle="{width: '3em'}"
/>
<Column header="ID"
field="id"
:sortable="true"
>
<template #body="{data}">
#{{data.id}}
</template>
</Column>
</DataTable>