PDA

View Full Version : To set a badge to a tab item how to create an instance in MVC?



prakash.fs
3 Apr 2012, 4:48 AM
I have created a tabitem in MVC. Now i need to set Badge for Tab item. How can i create an instance of tabItem and where i need write setBadge coding. Here is my TabItem Coding.
Ext.define('MyName',{
extend:'Ext.navigation.View',
xtype:'tabitemcard',
config:{
iconCls: 'home',
title: 'MainPage',
items:[{
}]
}
});



Thanks in Advance..

mitchellsimoens
3 Apr 2012, 7:31 AM
I see you are using Ext.define and the config object. Is this a Sencha Touch 2 question? You are in the Sencha Touch 1 forum.