1. #1
    Ext User
    Join Date
    Apr 2008
    Posts
    1
    Vote Rating
    0
    Rekha is on a distinguished road

      0  

    Smile Accordin Problem

    Accordin Problem


    well i have to implement accordin control of extjs in one of my application if anybody hv an idea about this plz send me detail code of Accordin which i can implement in one of my C#.net application

  2. #2
    Sencha User
    Join Date
    Oct 2012
    Posts
    1
    Vote Rating
    0
    AnuMeval is on a distinguished road

      0  

    Default sample - Hope this helps

    sample - Hope this helps


    Ext.application(
    {
    requires : ['Ext.container.Viewport'],
    name : 'Simple',
    // appFolder: 'app',
    // controllers : ['First.controller.User'],


    launch:function()
    {
    console.log("Launch of application which creates view port");
    Ext.create('Ext.panel.Panel',
    {
    //Auto layout
    renderTo : Ext.getBody(),
    width : '80%',
    height : 300,
    title :"Container Panel",
    layout : 'accordion',
    items :
    [
    {
    xtype:'panel',
    title : "Child Panel 1",
    // columnWidth : 0.5,
    // height : 100
    html : 'Some Content here'


    },
    {
    //xtype:'panel',
    title : "Child Panel 2",
    // columnWidth : 0.5,
    // height : 100


    html : 'Contetn here'
    },
    {
    //xtype:'panel',
    title : "Child Panel ",
    // columnWidth : 0.5,
    // height : 100


    html : 'Contetn here'
    }
    ]
    });
    console.log ("Launch of app complete");
    }
    }
    );

Thread Participants: 1