void

JQgrid设置高度

设置height和setGridHeight都是无效的。
原因是因为css的height样式覆盖了设置的height样式。

正确的应该是再次强制important(优先权):
var newHeight = $(window).height() - 340;
$(".ui-jqgrid .ui-jqgrid-bdiv").css("cssText","height: "+newHeight+"px!important;");

posted on 2014-10-22 11:31 void 阅读(12711) 评论(1)  编辑  收藏 所属分类: JQgrid

Feedback

# re: JQgrid设置高度 2015-03-09 08:28 33

大家好  回复  更多评论   


只有注册用户登录后才能发表评论。


网站导航: