Hi,
I tried to bint to tab title.
In classic toolkit, it works this:
Code:
{
bind: {
title: '{mainTabTitle}'
},
iconCls: 'fa-home',
items: [{
xtype: 'mainlist'
}]
}
But, not works in modern:
Code:
{
bind: {
title: '{mainTabTitle}'
},
iconCls: 'x-fa fa-home',
layout: 'fit',
items: [{
xtype: 'mainlist'
}]
}
Code:
Uncaught Error: Cannot bind title on Ext.Container - missing a setTitle method.
I tried these:
Code:
bind: {
tab: {
title: '{mainTabTitle}'
}
},
Code:
bind: {
tab: {
title: '{mainTabTitle}'
},
deep: true
},
Code:
tab: {
bind: {
title: '{mainTabTitle}'
}
},
But not works.
Can I bind to tab title?