$(function(){
$(window).resize(function(){
$("#jqgridID").setGridWidth($(window).width());
});
});
$(function(){
$(window).resize(function(){
$("#jqgridID").setGridWidth($(window).width());
});
});
转载于:https://www.cnblogs.com/AndyChen2015/p/7482880.html