ext中的面板上的顶部工具栏的按钮加事件怎么加啊。
function mian(){
var panel=new Ext.Panel({
renderTo:"hello",
width:500,
height:500,
title:"控制面板啦",
html:"<p style='color:red'>Java软件开发</p>",
tbar:[{pressed:true,text:"刷新"}] *这个刷新的地方加click事件
});
panel.show();
}