Move Rowup

Tags: #<Tag:0x00007efc6520ddf8>

what is the event for move rowup through index ??

Hi @kunal

When you move a row up or down

you trigger these two hooks

Both of the hooks return the array of moved rows and the index where the rows are dropped
Demo https://jsfiddle.net/c3jvd4hr/

Do you need any additional metrics for that action?

i dont want to manually !!

Those hooks are also called when you move rows programatically, like here https://jsfiddle.net/47waytdx/

I am using moveRow of the manualRowMove plugin to move rows programmatically and that action is described by the hook in the console.

ps. to move multiple rows use moveRows instead https://jsfiddle.net/0k61nhvu/ it will ask you for an array of numbers instead of a single number (index)

tq…wrking fine !!

Great. I’m glad it met your requirements.
I’m closing this ticket.