I am new in jqGrid and I need that grid will be resized on resizing the window of the web browser. I have applied autowidth : true; , shrinkToFit: true;
Add to method below to beforeEvent of jqgrid......
function responsive_jqgrid(jqgrid) {
jqgrid.find('.ui-jqgrid').addClass('clear-margin span12').css('width', '');
jqgrid.find('.ui-jqgrid-view').addClass('clear-margin span12').css('width', '');
jqgrid.find('.ui-jqgrid-view > div').eq(1).addClass('clear-margin span12').css('width', '').css('min-height', '0');
jqgrid.find('.ui-jqgrid-view > div').eq(2).addClass('clear-margin span12').css('width', '').css('min-height', '0');
jqgrid.find('.ui-jqgrid-sdiv').addClass('clear-margin span12').css('width', '');
jqgrid.find('.ui-jqgrid-pager').addClass('clear-margin span12').css('width', '');
}