标签:
function queryClick(e) { $("#tr_query").show(); //主要代码 $(‘#mainLayout‘).layout(‘panel‘, ‘north‘).panel("resize", { height: 300 }); var h = $(‘#mainLayout‘).layout(‘panel‘, ‘center‘).panel("options").height; var t = $(‘#mainLayout‘).layout(‘panel‘, ‘center‘).panel("options").top; $(‘#mainLayout‘).layout(‘panel‘, ‘center‘).panel("resize", { height: (h - (300 - 62)), top: (t + (300 - 62)) }); }
EasyUI改变Layout的Region的宽高,位置等信息
标签:
原文地址:http://www.cnblogs.com/yongtaiyu/p/4648076.html