Just like the raw state, make the column states functional. Also make sure you have some excluded columns, how many are selected, and the ability to save column state. Maybe a similar function is in jmp. If you know such a function, I would appreciate it if you let me know.