I want to add some buttons in 'window' header, instead of 'X'. Draggable property must be saved! It should look like this:
You can specify the tools
(Ext.Panel.Tool) config for the window!
tools: [{
type: 'refresh',
tooltip: 'Refresh form Data',
handler: function(event, toolEl, panel) {
// refresh logic
}
},
{
type: 'help',
tooltip: 'Get Help',
handler: function(event, toolEl, panel) {
// show help here
}
}
]
There are 25 predefined buttons but you can customize your own.