I'm not able to change the columns width in the latest jqGrid version (4.4.1).
In the 3.8.2 version I used this code to change columns width (and it works well):
grid options:
shrinkToFit = true;
I put the following code in the loadComplete
section.
First of all I changed the columns width:
$("#gridId").jqGrid('setColProp',"colname",{width:new_width});
and then I changed the grid width
$("#gridId").jqGrid('setGridWidth', newGridWidth);
and the grid was properly rendered.
I already tried to use the 4.3.2 modified release:
JQGrid: Resize Grid Width After Column Resized
but with no success.