Reputation: 5196
How can I change back button text in sencha touch detail card of nested list.
What I have done in detailcard
config is :
detailCard: {
xtype: 'panel',
styleHtmlContent: true,
scrollable: true,
html: ' Loading ...... ',
id: 'detailcard',
}
Upvotes: 1
Views: 1912
Reputation: 861
In addition to the backText you need to set the useTitleAsBackText attribute to false:
useTitleAsBackText: false,
backText: 'Go Back!'
Upvotes: 4
Reputation: 8191
Use the backText
config for Ext.dataview.NestedList
:
backText: 'Go Back!'
Upvotes: 1
Reputation: 7225
You can use the backButton configuration of NestedList to customize the text.
Ext.Viewport.add({
xtype: 'nestedlist',
backButton: {
text: 'Terug'
},
...
});
Upvotes: 1