I am using only the headers as a kind of column configuration tool for CSV
file import configurations.
The problem I'm having is when I read the values in from the database, it
doesn't restore the layout to the stored layout. It seems that using the
moveColumn function is where the problem lies. If I have a layout where
column 2 is moved to column 5, when I try to restore that layout, column 2
is moved to column 5, just fine, but when I am going to move column 5, it
takes the old column 2 and moves it to the place that the old column 5 was
supposed to be. Try the code and you'll see what I mean.