Results 1 to 2 of 2

Thread: To set a badge to a tab item how to create an instance in MVC?

  1. #1
    Sencha User
    Join Date
    Mar 2012
    Location
    India
    Posts
    45
    Vote Rating
    0
      0  

    Default To set a badge to a tab item how to create an instance in MVC?

    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.
    Code:
    Ext.define('MyName',{
        extend:'Ext.navigation.View',
        xtype:'tabitemcard',
    config:{
    iconCls: 'home',
    	title: 'MainPage',
    items:[{
    }]
    }
    });
    Thanks in Advance..

  2. #2
    Sencha User mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    40,062
    Vote Rating
    1391
      0  

    Default

    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.
    Mitchell Simoens @LikelyMitch
    Modus Create, Senior Frontend Engineer
    ________________
    Need any sort of Ext JS help? Modus Create is here to help!

    Check out my GitHub:
    https://github.com/mitchellsimoens

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •