I've tracked the problem I'm facing down to removing the gridfooter. With the code I'm given it's easier to always create the gridfooter and then remove it in the cases it doesn't need to be there.
In the scenarios where I don't remove the gridfooter the column widths are fine. When I remove the gridfooter then the columns no longer respect the width. I tracked it down to one item.
If I leave the gridfooter alone this is on the web page. You can see the colgroup with the widths.
When I remove the gridfooter the colwidth values appeared to be wiped out.
Any idea why this is happening or another solution? Hiding the grid footer on document ready doesn't appear to be a good solution as when the grid refreshes due to a sort the footer reappears.
I should also add that removing the footer appears to prevent the grid from painting properly and that items in the grid do not appear until you sort a column.
I was just playing around more and found if I add the col entry back in the colgroup after removing the footer that it formats properly, however I need to know why removing the footer is removing the values in the colgroup.
Thanks