I have a client who has a list page with 20 columns. They have asked me if I can have it only show 10 with the option to turn on the other 20 when needed. So, it would be like having a simple view and a detailed view.
The obvious solution would be to create a custom view.
However, here is where that becomes an issue.
Let's say this is a product list.
I already have 6 views of the product list for Owner, Manager, Reseller, Distributor, Part-Time, etc. So they can each have their own view.
Now if I am going to make a simple/detailed view for each of those I'm going to need 12 views. And if he decides to add a column later I have to fix it in 12 places.
So, is there a way to somehow pass a variable that tells the page to show details and have those columns appear when that variable is present?