I think it will be great if user can add custom tools to an easyui layout in similar way like panel..
I know layout was extended from panels plugin but i just don't know how to achieve it in more efficient way than putting
var p = $('#container').layout('panel','North');
var tools = p.panel('options').tools;
p.panel({
tools: [{
iconCls:'icon-search',
handler:function(){openSearch()}
}].concat(tools.pop())
})
regards,
sigit