[DataTable] Reorder feature and rowreordericon slot problem. #42
-
The Reorder feature of DataTable sometimes doesn't work correctly.
And when using the rowreordericon slot, the icon appears but it doesn't work. See the code below. <Column :row-reorder="true" header-style="width: 3em">
<template #rowreordericon>
<i :class="['p-datatable-reorderablerow-handle', 'ICONCLASS']" style="font-size: 1.25rem"></i>
</template>
</Column> |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Hey there, thanks for letting us know. I opened up an issue for this. You can follow it from here primefaces/primevue#4459 |
Beta Was this translation helpful? Give feedback.
-
There is a bug on the mouse-down event and it's fixed for the next version. Also
PrimeVue changes Moreover I want to this from MDN documentation:
|
Beta Was this translation helpful? Give feedback.
There is a bug on the mouse-down event and it's fixed for the next version. Also
rowreordericon
slot provides the necessary class, you don't have to type manually, just be added like below.PrimeVue changes
draggable
attribute when the mouse-down is fired not the click event. Because there is a drag-drop process, it did not seem appropriate to replace it with a click event.Moreover I want to this from MDN documentation: