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 - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    39,551
    Vote Rating
    1271
      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
    Sencha Inc, Senior Software Engineer
    ________________
    Learn BBCode and use it! Checkout the CODE tag!

    Check out my GitHub, lots of nice things for Ext JS and Sencha Touch
    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
  •