Gelmiş geçmiş en büyük porno sitemiz olan 2pe de her zaman en kaliteli pornoları sunmayı hedefledik. Diğer video sitemiz olan vuam da ise hd porno ağırlıklı çalışmalara başladık.

  1. #1
    Sencha User
    Join Date
    Jun 2008
    Posts
    227
    Vote Rating
    1
    sseema is on a distinguished road

      0  

    Default Accordion Issue

    Accordion Issue


    Hi,

    I am facing problem with accordion panel.
    That is whenever I click on plus symbol it should expand, and it should not at the time of clicking on title, this particular functionality is working for me.

    But I need the functionality i,e. whenever I click on title it should fire an event.

    Can any one give me an idea

    I appreciate any help
    Thanks

  2. #2
    Sencha - Community Support Team sword-it's Avatar
    Join Date
    May 2012
    Location
    Istanbul
    Posts
    1,333
    Vote Rating
    85
    sword-it is a jewel in the rough sword-it is a jewel in the rough sword-it is a jewel in the rough sword-it is a jewel in the rough

      0  

    Default


    Hi sseema,

    Simply used "titleCollapse: true or false" config for enable or disable to title click expand functionality like -
    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: true,
            animate: true,
            activeOnTop: true
        },
        items: [{
            title: 'Panel 1',
            html: 'Panel content!'
        },{
            title: 'Panel 2',
            html: 'Panel content!'
        },{
            title: 'Panel 3',
            html: 'Panel content!'
        }],
        renderTo: Ext.getBody()
    });
    For more info read API docs- http://docs.sencha.com/ext-js/4-1/#!...-titleCollapse
    sword-it.com, Sencha Developer House in Turkey - Istanbul University Technopark Suite 204.

Thread Participants: 1