开门见山。
1、直接替换panel属性
例如:$('#dr_auth').panel({title: "新title"});
所有的窗体都继承了panel中的方法,所以可以直接用。
2、通过具体窗体替换属性
例如:$('#dr_auth').dialog({title: "新title"});
不推荐使用此种用法,因为会导致页面重新加载。
补充下获取窗体title或其他属性的方法:
var opts = $('#dr_auth').panel('options'); var title = opts.title;//获取title属性
在easyui 中怎动态更改layout的 title?
layout dependencies:panel and resizable.
so you can change the 'center''s properties like panel.
like this:
$("#myTitleDiv").panel({
title:"other title"
});
----------------------------------------------------------------
怎动态更改easyui中tab的title,tab页使用iframe
布局的依赖关系:面板和可调整大小的。
所以你可以改变的“中心”的属性,如面板。
是这样的: $(“#myTitleDiv”)。面板(“{
称号:”标题为“
});
-------------------------- --------------------------------------