RowReorder and select

RowReorder and select

ECEGROUPEECEGROUPE Posts: 72Questions: 26Answers: 1
edited March 27 in General

Hi,

is it possible to use row reorder with full row selection and select if i only click (and not hold the click) on the row;

To summarize :
hold click = drag and drop (like in this exemple : https://datatables.net/extensions/rowreorder/examples/initialisation/selector.html)
Click = select the row (like in this exemple : https://datatables.net/extensions/select/examples/initialisation/simple.html)

but both fonctionnality together ?

Thx for your time / answer :)

This question has an accepted answers - jump to answer

Answers

  • allanallan Posts: 61,744Questions: 1Answers: 10,111 Site admin
    Answer ✓

    Not really I'm afraid. RowReorder captures the mousedown event, and doesn't allow the click to propagate. You'd really need to have a column as the drag handler and then the other cells as the row selection.

    Allan

Sign In or Register to comment.