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
Printable View
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
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");
}
}
);