Disable or freeze drag and drop row while clicking on range slider

Disable or freeze drag and drop row while clicking on range slider

ombinarombinar Posts: 2Questions: 2Answers: 0

Hello,

Any know how to accomplish this scenario? I've searched and have not found a solution.

What I have:
- A drag and drop rows (row ordering feature)
- Each row has multiple form elements including jQuery UI range slider

Issue:
- When I adjust the range slider value, the entire row moves also, which is expected

What I need:
- Somehow freeze or disable the current row so the range slider works without the row moving as mouse adjust the range value

Thank you in advance.

Ricky

Answers

  • allanallan Posts: 61,831Questions: 1Answers: 10,133 Site admin

    Hi Ricky,

    There isn't away to have RowReorder not respond to a listener if the listener has been set for that element (or a parent). So the key here is simply not to set the listener. It sounds like you might have it listening on the whole row. Could you have it listen on only a specific cell perhaps?

    rowReorder.selector is the relevant option.

    Allan

This discussion has been closed.