Results 1 to 2 of 2

Thread: Adding content to tab panel

  1. #1
    Sencha User
    Join Date
    Aug 2013
    Posts
    2
    Vote Rating
    0
      0  

    Default 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 u25771's Avatar
    Join Date
    Sep 2012
    Location
    Switzerland :)
    Posts
    253
    Answers
    27
    Vote Rating
    10
      0  

    Default

    I built you a fiddle to clarify...

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

Posting Permissions

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