Hi,
I have a navigation's view and i need to include my nested list into my card :
Code:
{
title : _strings_forward[dmngConfig.device[0].LanguageID],
id : 'fileselectview',
layout: 'card',
items :
[
// --- Toolbar ---
{
xtype : 'toolbar',
docked: 'top',
ui : 'light',
title : _strings_forward[dmngConfig.device[0].LanguageID],
items :
[{
xtype : 'button',
ui : 'action',
text : _strings_button_back[dmngConfig.device[0].LanguageID],
handler: function()
{
//console.log("BACK button");
}
}]
},
// --- Filesystem selection ---
{
title : _strings_forward[dmngConfig.device[0].LanguageID],
xtype : 'nestedList',
itemTpl : FileSystemTpl,
store : FileSystemStore,
flex : 1,
listeners:
{
leafitemtap: function(nestedList, list, index, target, record)
{
var detailCard = nestedList.getDetailCard();
console.log('You selected: ' + record.get('text'));
}
}
}
]
}
But i have the following error :
Code:
Uncaught Error: [Ext.createByAlias] Cannot create an instance of unrecognized alias: widget.nestedList
So i think, the xtype is not correct ? what is the right one or what is wrong in my code ?
Thanks in advance of your reply.
Regards