标签:http os io ar 2014 cti sp on ad
var cc= $("#cc").layout();//获取对象 cc.layout("collapse","west");//调用对象方法
var centerPanel = $("#cc").layout("panel","center");//获取中间panel对象 centerPanel.panel("option").title;//获取center的title标题名称
$(‘#cc‘).layout(‘add‘,{ region: ‘east‘, width: 180, title: ‘eastttt Title‘, split: false, collapsible:false, tools: [{ iconCls:‘icon-add‘, handler:function(){alert(‘add‘)} },{ iconCls:‘icon-remove‘, handler:function(){alert(‘remove‘)} }] });
效果如下:
标签:http os io ar 2014 cti sp on ad
原文地址:http://my.oschina.net/147258369/blog/308302