Hello,
I am trying to dynamically resize a grid using the “setGridWidth” method. When I call “setGridWidth” on a grid to make the size of the grid smaller, it appears to resize the columns in the grid to fit the new grid width, even if I have “shrinkToFit” set to false. After reading the documentation on shrinkToFit, I expected the column widths to not be changed after the grid was resized.
I really want the column widths to stay their original sizes after setGridWidth is called. Is this a bug, is there some workaround, or am I just not understanding how shrinkToFit works?
Here is an example that reproduces the issue. Clicking the “Click Me” button will resize the grid to a smaller size, causing the columns to resize…
Copyright 2014 TriRand LtdAll Rights ReservedRSS
Back to Top