PDA

View Full Version : Drag and drop in portal layout



dg_arm
31 Jan 2012, 5:11 AM
Hello,

I am not able to add drag and drop listners for portal panels in the portal layout (http://dev.sencha.com/deploy/ext-4.0.7-gpl/examples/portal/portal.html). As it is shown in the example there is available already attached 'close' listener.
.....
id: 'portlet-2',
title: 'Portlet 2',
tools: this.getTools(),
html: content,
listeners: {
'close': Ext.bind(this.onPortletClose, this)
}
......
And i was able successfully add listeners for collapse and expand actions. But no any chance to handle drop event upon portlet drag and drop.

Can you suggest if that is possible to do or not.

Thanks in advance.

mitchellsimoens
31 Jan 2012, 9:35 AM
Moving to the Ext JS 4 Q&A forum. Please post into the appropriate forum.