PDA

View Full Version : Go back Button



mkariti
6 Sep 2011, 10:34 PM
Hi there,
Does any one know how to create such a button?
Many thanks
mkariti

mitchellsimoens
7 Sep 2011, 10:14 AM
A button that says Go Back... sure... but what are you actually wanting to happen when clicking on the button?

mkariti
7 Sep 2011, 12:48 PM
Oh.....ofcourse,
Back button to return to the previous page. The same as using the back button on your browser.
cheers
mkariti

mitchellsimoens
7 Sep 2011, 1:16 PM
Ext.create('Ext.button.Button', {
text : 'back',
handler : function() {
history.back();
}
});

mkariti
7 Sep 2011, 9:48 PM
Great. Work like a charm!!!
Cheers
mkariti