var messagebox = Ext.widget("messagebox", {
target: grid,
progressMessage: "Loading"
});
The message box displayed above indicates the loading progress bar that appears when the download button is clicked. I am looking to incorporate a cancel button in order to stop the execution of the popup window below. Could someone assist me with this cancellation process?
var win = new Ext.Window({
title: "popup",
width: 50,
height: 50,
layout: "fit",
items: [
{
xtype: "component",
autoEl: {
tag: "popup",
src: "www.google.com"
}
}
],
listeners: {
show: function() {
setTimeout(function() {
popup.close();
}, 2000);
}
}
}).show();