You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With manualColumnMove enabled, if you abort a move by returning false from beforeColumnMove you still get an afterColumnMove event hook fired. This is not what I'd expect, and also not consistent with beforeChange/afterChange which skips the afterChange hook if the change was aborted by returning false from beforeChange.
Thank you for sharing the issue. You're right, the afterColumnMove hook runs, even when we block the action of column movement. According to the docs it should change only when there's a physical change
Fired by ManualColumnMove plugin after changing order of the visual indexes.
Description
With
manualColumnMove
enabled, if you abort a move by returningfalse
frombeforeColumnMove
you still get anafterColumnMove
event hook fired. This is not what I'd expect, and also not consistent withbeforeChange
/afterChange
which skips theafterChange
hook if the change was aborted by returningfalse
frombeforeChange
.Steps to reproduce
manualColumnMove
beforeColumnMove
hook that ruturns falseafterColumnMove
hookafterColumnMove
hook firesDemo
https://jsfiddle.net/9p83mt5h/
Your environment
The text was updated successfully, but these errors were encountered: