Hi Gabriel,
Thank you for your help.
Yes, i had already saw that. But our problem was that we already had a lot of customization on the grid, so that alone did not work.
What we had to do was, set all columns property "allowDragging" as True, then we called the "moveElement" function to move the element to the desired position, and in the end set the "allowDragging" property back to False.
Only, when the columns have the property "allowDragging" as True they can be moved to other position, using the move element function.
Best regards,
Rafael