Use moveColumn (plugin ManualColumnMove)

Tags: #<Tag:0x00007efc6d5df870>

Hello,

I don’t know if i am bad using the moveColumn but in this example : JSFiddle, when i click in the button nothing move.

var plugin = hot.getPlugin("manualColumnMove");
plugin.moveColumn(2, 5);

Regards :slight_smile:

hi @jsiali
hope you’re doing well mate.

Mostly when you’re expecting something to appear or change in Handsontable but there are no visual results you need to rerender the table. It this case it’s the same, just add the ‘hot.render()’ and it will work : http://jsfiddle.net/mxrtvdo8/

1 Like

Oh god !!! Damn it, why i don’t put it in my code :smile:, it’s the first rule with handsontable and i forget it :confused:

Thanks you @aleksandra_budnik :wink:

Regards

heh, yes exactly - it is a first rule :slight_smile:
Have a great day @jsiali

1 Like