Results 1 to 2 of 2

Thread: Basics about Drag&Drop for Ext.Container

  1. #1
    Sencha User
    Join Date
    Oct 2011
    Karlsruhe, Germany

    Question Basics about Drag&Drop for Ext.Container

    Hi everyone,

    I'm trying to create a Ext.Panel with drag&drop feature. For that, I created a Ext.Window which floats in front of my frontend. It renders without problems.

    The Ext.Window contains one Ext.Panel configured with layout: border and in the region: north there are my Ext.Container's placed.

    If I understand the documentation and some tutorials correct, then the only thing which I have to do is to place new Ext.dd.DragSource('the-dom-id-of-my-first-container-and-for-every-container-the-same') to just drag the container around.
    So I added this to the afterrender listener of my Ext.Panel and passed the correct ID's of the corresponding DIV tags.

    But all what firebug returns is just:

    this.el is null
    Line 22864
    What's wrong here?

    Any help would be appreciated!

  2. #2
    Sencha Premium User mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Gainesville, FL


    Try to do Ext.get('id') and see what it returns.
    Mitchell Simoens @LikelyMitch

    Check out my GitHub:

    Posts are my own, not any current, past or future employer's.

Tags for this Thread

Posting Permissions

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