Row Re-order - prevent dragging above first column?

Row Re-order - prevent dragging above first column?

EtheloEthelo Posts: 4Questions: 3Answers: 0

Is there any way to limit what the targets of a row re-order can be.
The first row in my table cannot be changed.

I have used the rowReorder.selector option to prevent the first row from being dragged, but the script still lets me drag other rows above the first row. Is there a way to cancel a re-order if it's moving a row to an invalid location?

Thank you

This question has an accepted answers - jump to answer

Answers

  • colincolin Posts: 15,240Questions: 1Answers: 2,599
    Answer ✓

    Hi @Ethelo ,

    No, that's not possible, I'm afraid. There's a similar suggestion in the backlog, see this thread here, where the drop should be cancellable. I'll add this thread to that case so when it's implemented you'll get notified.

    Cheers,

    Colin

This discussion has been closed.