Results 1 to 3 of 3

Thread: How to drag treenode onto container

  1. #1
    Sencha User
    Join Date
    May 2008
    Posts
    32
    Answers
    1

    Default Answered: How to drag treenode onto container

    How to drag treenode onto container

    I want to be able to drag a treenode on a container and then receive a drop event. The treenode is draggable within the tree and this works fine. I also managed to be able to drag other components on the container, but I can't find a way to drag and drop the treenode onto the container.

    Any help would be appreciated!

  2. You need to implement a drop target on the destination container.

    http://docs.sencha.com/ext-js/4-1/#!...formpanel.html

  3. #2
    Ext JS Premium Member
    Join Date
    Nov 2009
    Location
    St Louis,MO
    Posts
    267
    Answers
    20

    Default

    You need to implement a drop target on the destination container.

    http://docs.sencha.com/ext-js/4-1/#!...formpanel.html

  4. #3
    Sencha User
    Join Date
    May 2008
    Posts
    32
    Answers
    1

    Default

    Thanks, this should get me going, I was looking at the dropzone example with the cars and trucks and it got me nowhere.

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
  •