Each click of the button calls grid.setData with a new array. Of particular interest is how column auto-sizing handles such calls. The original behavior is that columns should expand to accommodate wider data in the view, but should not shrink. Once manually resized, a column should no longer grow.