as per the documentation, I use setGridWidth() to resize my grid if I detect that the window is resized–I get the width of the parent element and setGridWidth() accordingly. oddly, if the grid is resized enough times, columns lose width and cannot get it back–even if the window is made very large. Here is a demo, what I show is the initial load of the grid followed by epileptic resizing of the width of the window to quickly demonstrate the eventual failure of the columns to gain any width back when the window width is enlarged:
http://screencast.com/t/OWRlZmJiZmU
This is a problem because I am saving the user's grid config on pageUnload. Every time they come back to the page, I load the columns just a tad narrower because of the above effect. Eventually, the columns are completely collapsed.
Copyright 2014 TriRand LtdAll Rights ReservedRSS
Back to Top