Adding components to tab panel

Get help with Spket IDE.
Post Reply
ken4ward
Posts: 6
Joined: Thu May 23, 2013 1:10 pm

Adding components to tab panel

Post by ken4ward » Mon Jun 10, 2013 4:17 pm

Code: Select all

        Ext.onReady(function(){
                    Ext.create('Ext.panel.Panel', {
                            title: 'The Wealth market Application',
                            width: 1000,
                            height: 450,
                            layout: 'accordion',
                            layoutConfig: {
                                //activeOnTop: true,
                                animate: true,
                                multi: true
                            },
                            style: 'margin: 160px', // move panel off browser’s edge
                            renderTo: Ext.getBody(),
                            items: [{
                                 title:'Login - kindly login here.'
                                     ,defaults:{border:false, activeTab:0}
                                     ,items:
                                         [{
                                            defaults:{layout:'fit'}
                                             ,xtype:'tabpanel'
                                             ,items:
                                                 [{
                                                     title:'Member Login'
                                                     },{
                                                     title:'Franchise Login'
                                                     },{
                                                    title:'Merchant login'
                                     }]
                                     }]
                            }, {
        ................ and so on.....
In this in accordion layout tab panels are created, how do I add components like textbox, button, label, etc inside each tab. Thanks.

eric_suen
Site Admin
Posts: 678
Joined: Wed Sep 28, 2005 7:00 am
Contact:

Re: Adding components to tab panel

Post by eric_suen » Mon Jun 10, 2013 8:30 pm

http://www.sencha.com/forum/ is the better place for asking Ext JS related question

Post Reply

Who is online

Users browsing this forum: Google [Bot] and 1 guest