Raw data table column moving


#1

Hello i need to do something when the user moves a column to a different position in the raw data table, is there a way to do that?


#2

Hey @mdemian, there are two events you can use to achive that, the first one is the rdt:columnMoved event:

.on('rdt:columnMoved', event => {
    // your code here...
})

And the second one is the rdt:dragStopped event:

.on('rdt:dragStopped', event => {
    // your code here...
})

#3

It seems like is the solution i was looking for, thanks i will try it