autoWidth:true
非 tab 切换的时候可用
固定的宽度
列比较多,可以固定宽度实现自适应,取消容器的自动宽度,同时允许列宽根据表宽更新,不过这些配置只是在首次执行的时候才会执行。
$("#keyword_detail").jqGrid({
url: "getKeywordInfoDataAction",
datatype: "json",
mtype: "post",
width:window.screen.availWidth-20,
autowidth: false,
shrinkToFit: true,