View Full Version : Supporting "Multiple Views" in EditorGridPanel

22 Apr 2011, 11:46 PM
I have a store with 30 columns and I'd like the user to "pick a view" which decides which columns need to be shown.

Option 1: Have all columns in a single ColumnModel and then turn on/off the columns based on user selected view. In this case how do I "disable" a column?

Option 2: Have multiple ColumnModel (one for each view) and switch the model based on user selected view. How to switch the model?

Better alternatives?