Results 1 to 2 of 2

Thread: Custom class for panel does not work while dragging the panel

  1. #1
    Sencha User
    Join Date
    Jun 2010
    Posts
    36

    Default Custom class for panel does not work while dragging the panel

    Hi

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

    Code:
        {
                        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.

  2. #2
    Sencha User
    Join Date
    Jun 2010
    Posts
    36

    Default

    No ideas anyone?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •