关于easyui的layout的region的resize的问题

哈哈 这标题 不错吧~

我遇到的问题是:用户点击按钮后 想改变一个region的宽度或高度。

还用了蹩脚的英文在easyui的官方论坛发了个帖子,
http://jquery-easyui.wikidot.com/forum/t-369334/how-to-resize-layout-s-region
我用的代码是:

1 $('#csIdxLay').layout('panel', 'north').panel('resize',{height:300});

运行结果 不正常。

发完帖子却马上被我研究出来,正确的代码是:

1 $('#csIdxLay').layout('panel', 'north').panel('resize',{height:300});
2 $('#csIdxLay').layout('resize');

posted @ 2011-06-29 20:28  王道中强流  阅读(4464)  评论(2编辑  收藏  举报