Turns out the custom formatter changes the underlying array. Added more columns and fixed the toggling of the target directory. Made it so it triggers the toggle when you select a column of a certain name, instead of a column in the certain position. That required some tricks.