1. #1
    Ext User
    Join Date
    May 2008
    Posts
    55
    Vote Rating
    0
    accilies is on a distinguished road

      0  

    Question Drag Drop (reorder) Panels within column layout Panel

    Drag Drop (reorder) Panels within column layout Panel


    Hello Everyone,

    I have tried out all the various examples given in the forum and the site but was unsuccessful in getting the 4 panels within the main panel with column layout to be able re-arranged. Kindly review the base code I am using and please suggest a way whereby user can drag / drop a panel onto one of the remaining 3 panels and re-order them.

    Paste Bin link : http://erxz.com/pb/12688

    Code:
    Code:
    Ext.onReady(function(){
        Ext.QuickTips.init();
        var top = new Ext.Panel({
            labelAlign: 'top',
            frame: false,
            bodyStyle: 'padding:5px 5px 0',
            border: false,
            defaults: {
                border: false,
                bodyStyle: 'padding:5px 5px 0'
            },
            width: 600,
            items: [{
                layout: 'column',
                defaults: {
                    draggable: true,
                    ddGroup: "organizerDD"
                
                },
                items: [{
                    columnWidth: 1,
                    layout: 'fit',
                    items: [{
                        xtype: 'panel',
                        html: 'First Name',
                        title: 'first',
                        frame: true
                    }]
                }, {
                    columnWidth: .5,
                    layout: 'form',
                    items: [{
                        xtype: 'panel',
                        title: 'center 1',
                        html: 'center 1'
                    }]
                }, {
                    columnWidth: .5,
                    layout: 'form',
                    items: [{
                        xtype: 'panel',
                        html: 'center 2',
                        title: 'center 2'
                    }]
                }, {
                    columnWidth: 1,
                    layout: 'fit',
                    items: [{
                        xtype: 'panel',
                        html: 'First Name',
                        title: 'first',
                        frame: true
                    }]
                }]
            }]
        });
        top.render(document.body);
        
    })
    Regards,
    Accilies

  2. #2
    Sencha - Ext JS Dev Team Animal's Avatar
    Join Date
    Mar 2007
    Location
    Notts/Redwood City
    Posts
    30,498
    Vote Rating
    46
    Animal has a spectacular aura about Animal has a spectacular aura about

      0  

    Default


    Check the "portal" example. Both online and in your examples directory.

  3. #3
    Ext User
    Join Date
    May 2008
    Posts
    55
    Vote Rating
    0
    accilies is on a distinguished road

      0  

    Question Basic usage?

    Basic usage?


    Quote Originally Posted by Animal View Post
    Check the "portal" example. Both online and in your examples directory.
    Hello Animal,

    I have gone through all the examples and that has caused me to be overwhelmed. There is no simple explanation and usable defined path of what does draggable has to be configured. Portal example is good once basic usage of DDProxy, DragSource, etc etc are cleared.
    Regards,
    Accilies

  4. #4
    Sencha User
    Join Date
    Sep 2008
    Posts
    81
    Vote Rating
    0
    vitolini is on a distinguished road

      0  

    Default


    have you found a solution to this? I am having the same issue...

    Thanks

  5. #5
    Ext User
    Join Date
    Jan 2008
    Posts
    16
    Vote Rating
    0
    marcora is on a distinguished road

      0  

    Talking Same for me

    Same for me


    Same for me... have you found a solution to this?

    An example (much simpler than the portal example) would be greatly welcomed.

    Thanks

Thread Participants: 3

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..."