Use Layouts to manage sets of column visibility, order, sorting and grouping.
Whereas the search functions determine row visibility, layouts manage column visibility and order (plus sorting, grouping and pivoting). They can include all grid state (e.g. grouping) and save automatially when changed.
This example has 4 layouts: Simple Layout: a basic layout (which includes a Calculated Column; Sorting Layout which contains 2 sorted columns (one with a Custom Sort); Grouping Layout: which groups on the 'Employee' and 'Ship Country' column; and Pivoting Layout which stores pivoting information.