Hi all,
I want to move some rows when a button is clicked. Lets say rows 2,3,4 to finalIndex ‘10’
I’m doing the below but it isn’t updating the table (with or without the render) - any idea what I’m doing wrong? I was hoping the move plugin would speed me along and mean i don’t have to mess around with deleting/inserting rows
const movePlugin = instance.getPlugin('manualRowMove')
console.log(`Moving ${rows} to ${finalIndex}`)
movePlugin.moveRows(rows, finalIndex)
instance.render()
Fiddle: https://jsfiddle.net/21m80jqo/