-
10 Jul 2008 5:41 AM #11
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.
-
12 Feb 2010 8:20 AM #12
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} } ] } ] }] });
-
2 Jun 2010 8:54 PM #13
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?
-
19 Sep 2012 11:25 PM #14
Thanks guys
Thanks guys
This thread had given me what I was searching for. Thanks everyone.
Regards,
Premkumar. A



Reply With Quote