View Full Version : Custom class for panel does not work while dragging the panel

16 Sep 2012, 11:41 PM

I downloaded the portal example and got it working on ext 4.1.1 Now i do this:

id: 'app-portal',
xtype: 'portletpanel',
items: [{
id: 'col-1',
items: [{
//xtype: 'panel',
cls: 'TestPanel',
width: '200',
id: 'portlet-1',
closable: false,
collapsible: false,
html: 'asdasdqw'

Dragging, dropping and the snapping works al fine. The only thing that does not work is the custom class while dragging. While dragging the panel changes to the original blue grid. When i drop it it returns to the custom layout i gave it.
Anyone have an idea on how to get the panel to look like the custom css class while dragging? Do i need to add some classes to the custom class.

19 Sep 2012, 3:39 AM
No ideas anyone?