I have a datatable with nth column. Now, I want to change the index of some columns. Need help

Try this:


I'm not sure about this, but this will change the position of your column and is there're multiple columns to change - like n columns, etc... - you must use this line n times to change all the columns' position.


Thanksk Eternal newbie C:

After Googleing, I just saw a solution that look like the same as yours, but still I appreciate your help.