Skip to content

[DataTable] Reorder feature and rowreordericon slot problem. #42

Discussion options

You must be logged in to vote

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.

<Column rowReorder :reorderableColumn="false">
    <template #rowreordericon="slotProps">
            <i :class="['ICONCLASS', slotProps.class]" data-pc-section="rowreordericon" />
    </template>
</Column>

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:

Note: This differs from the [click](https://developer.mozilla.or…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@tuffkidd
Comment options

Answer selected by tugcekucukoglu
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants