Please check the following jsFiddle –
http://jsfiddle.net/9wkLffm1/3/
When you open that URL for the first time and you resize the section containing the output, you’ll see that the columns resize alongwith the grid.
Now sort on the basis of a column and refresh the page, you’ll see that when you resize the section containing the output, the columns no longer resize.
This is because when we are storing the state of the grid in local storage we are also storing the width in pixels. Instead if the width is stored in %, this would probably solve the issue.