auto hide a column when another column is selected in column toggle
Can anyone tell me how do i set the column toggle table in such a way that when i select an option in the column button it displaces a column which had been displayed. Or in simpler terms for instance if i have 10 columns (3 of which are fixed and 1 has a higher priority) so when i click in any new column in the column toggle it replaces the the one with the higher priority and when i click another column - the non fixed column gets displaced.