jqgrid 宽度充足 出现水平滚动条

var w2 = parseInt($('.ui-jqgrid-labels>th:eq(2)').css('width'))-3;
$('.ui-jqgrid-lables>th:eq(2)').css('width',w2);
$('#grid-table tr').find("td:eq(2)").each(function(){
    $(this).css('width',w2);
})

猜你喜欢

转载自blog.csdn.net/aas3637721/article/details/70045675