Results 1 to 5 of 5

Thread: DataView inside of other containers

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Sencha User
    Join Date
    Oct 2012
    Vote Rating

    Default Answered: DataView inside of other containers

    Hi. Noob here. Trying to create a tab panel app, with each panel containing a dataview. I've got the dataview working, grabbing json data from a .ashx handler and can render the dataview to the viewport. I've got the dataview in a separate js file in the view folder. However, I can't seem to find the right syntax to incorporate the dataview as an item in the tab panel (defined in a separate view js file). I've tried every combo I can think up as Ext. create and xtype. Any help would be greatly appreciated!

  2. Code:
    Ext.define("Sencha.view.Main", {
        extend: '',
        xtype: 'main',
     requires: 'Sencha.view.DView1',
        config: {
            tabBarPosition: 'bottom',
       items: [  
                    title: 'Welcome',
                    iconCls: 'home',
        xtype: 'dview1' 
                    title: 'Get Started',
                    iconCls: 'action',
                    html: 'another tab'

Tags for this Thread

Posting Permissions

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