I have an issue with a navigationview in which there is a button with a handler, and then it's supposed to be shown a template in the detail-view of the navigationview.
Nothing happens. I have tried also to load an XTemplate outside the handler.
Thank you very much in advance.
Code:
xtype: 'navigationview',
items: [{
title: 'First',
items: [{
xtype: 'button',
text: 'Discover!',
handler: function(button) {
var view = button.up('navigationview');
// ...
// Here I load vars from another store in order to fill mi storemiResultado
// This works perfectly because I have checked in the console.log
storemiResultado.add({ID: miId, Title: miTitulo, Director: miDirector});
view.push({
xtype: 'container',
config: {
store: storemiResultado,
tpl: [
'<div class="header">',
'<div>Hola</div>',
'<h3>{ID} {Title}</h3>',
'</div>',
'<p>{Director}</p>'
]
}
});