onPostBody:function(){
$('.fixed-table-container').css('height', "");//先让高度出现
if(jQuery(document).height() >jQuery(window).height() ){//如果页面高度大于窗口高度
$('.fixed-table-container').css('height', ($(document.body).height()-$(".box").height()-$(".fixed-table-toolbar").height()-$(".fixed-table-pagination").height()-20) + 'px');//修改高度
}
}
bootstrap datagrid表格高度自适应修改
猜你喜欢
转载自www.cnblogs.com/pcancer/p/12342231.html
今日推荐
周排行