1. #1
    Sencha User
    Join Date
    Aug 2013
    Posts
    2
    Vote Rating
    0
    paulorossi is on a distinguished road

      0  

    Default Unanswered: Adding content to tab panel

    Unanswered: Adding content to tab panel


    I am new to Sencha and learning.
    I am trying to add content to a tabpanel.
    The normal way is just to add static html:
    e.g.
    Ext.create('Ext.TabPanel', {
    fullscreen: true,
    defaults: {
    styleHtmlContent: true
    },
    items: [
    {
    title: 'Home',
    html: 'Home Screen'
    },
    {
    title: 'Contact',
    html: 'Contact Screen'
    }
    ]
    });

    I want to add a reference to a variables which I have setup in a function. How can I access these in the html?

  2. #2
    Sencha Premium Member
    Join Date
    Sep 2012
    Location
    Switzerland :)
    Posts
    206
    Answers
    22
    Vote Rating
    6
    u25771 is on a distinguished road

      0  

    Default


    I built you a fiddle to clarify...

    http://www.senchafiddle.com/#rxyNb

Thread Participants: 1