1. #11
    Ext JS Premium Member Event Horizon's Avatar
    Join Date
    May 2008
    Location
    Melbourne, Australia
    Posts
    42
    Vote Rating
    0
    Event Horizon is on a distinguished road

      0  

    Default


    Quote Originally Posted by Animal View Post
    Exactly like that. Thanks for pointing this out.

    I've created a small stand-alone example that replaces the viewport in the portal
    example with a Panel that contains a single column of child panels that can be
    dragged and dropped.

    I'm now trying to work out how best to detect the drop events so that I can extract information about the new sorted order of the child panels.

  2. #12
    Ext JS Premium Member
    Join Date
    Feb 2009
    Posts
    27
    Vote Rating
    0
    thirstypixel is on a distinguished road

      0  

    Default


    I don't know if you found a solution yet but I thought I would post this in case someone runs across it.

    Here is how to call a function after a drop event in a portal.

    Code:
    function saveSort(target, e, id){
            // get current element order and send request
    }
    panel = new Ext.Panel({
            layout:'border',
            border: false,
            height: 900,
            items:[{
                xtype:'portal',
                border: false,
                region:'center',
                items:[
                    {
                        columnWidth:.5,
                        items:[
                            {
                                title: 'Element 1',
                                contentEl: 'Elm1',
                                draggable:{afterDragDrop:saveSort}
                            }
                         ]
                     },
                    {
                        columnWidth:.5,
                        items:[
                            {
                                title: 'Element 2',
                                contentEl: 'Elm2',
                                draggable:{afterDragDrop:saveSort}
                            }
                         ]
                     }
                ]
            }]
    });

  3. #13
    Ext User
    Join Date
    Apr 2010
    Posts
    1
    Vote Rating
    0
    rajandvij is on a distinguished road

      0  

    Default


    Hi All,

    I was trying to drag a portal over another> one of my portal has textbox within it and the other has some tabs. Now when I place the the portal with tabs over portal with textbox, I saw something strange... Clicking on textbox displays it's blinking cursor over tabs portal. This is happening in IE only and not in Mozilla. Does someone has any idea why this is happening?

  4. #14
    Sencha User
    Join Date
    Mar 2012
    Location
    Chennai, India
    Posts
    71
    Vote Rating
    2
    a.premkumar is on a distinguished road

      0  

    Default Thanks guys

    Thanks guys


    This thread had given me what I was searching for. Thanks everyone.

    Regards,
    Premkumar. A

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