Windowにtoolボタンを追加する
オプションにこんな感じに配列で渡すだけ。
tools:[{ iconCls:'icon-add', handler:function(){ alert('add'); } },{ iconCls:'icon-remove', handler:function(){ alert('remove'); } }]
オプションにこんな感じに配列で渡すだけ。
tools:[{ iconCls:'icon-add', handler:function(){ alert('add'); } },{ iconCls:'icon-remove', handler:function(){ alert('remove'); } }]