Threaded View

  1. #1
    Sencha User
    Join Date
    Feb 2013
    Posts
    4
    Vote Rating
    0
    kimonp is on a distinguished road

      0  

    Default Answered: Objects in title section of accordion container?

    Answered: Objects in title section of accordion container?


    Is it possible to put objects in the title bar of each section of an accordion container?

    I'd like to for example have a select menu in each section of my accordion as per below:

    foo: <menu>
    grid foo row 1
    grid foo row 2
    bar: <menu>
    grid bar row 1
    grid bar row 2
    grid bar row 3

  2. Something like this what you're looking for?

    Code:
    Ext.create('Ext.panel.Panel', {
        title: 'Accordion Layout',
        width: 300,
        height: 300,
        defaults: {
            // applied to each contained panel
            bodyStyle: 'padding:15px'
        },
        layout: {
            // layout-specific configs go here
            type: 'accordion',
            titleCollapse: false,
            animate: true,
            activeOnTop: true
        },
        items: [{
            title: 'Panel 1',
            html: 'Panel content!',
            collapseFirst: false,
            tools: [{
                xtype: 'button',
                text: 'Menu 1'
            }, {
                xtype: 'button',
                text: 'Menu 2'
            }]
        },{
            title: 'Panel 2',
            html: 'Panel content!'
        },{
            title: 'Panel 3',
            html: 'Panel content!'
        }],
        renderTo: Ext.getBody()
    });

Thread Participants: 1

Tags for this Thread

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar