Results 1 to 2 of 2

Thread: contentpanel droptarget for treenodes?

  1. #1
    Ext User digitalkaoz's Avatar
    Join Date
    Jun 2007
    Location
    Rostock, Germany
    Posts
    72

    Default contentpanel droptarget for treenodes?

    is it possible to make a content-panel a droptarget for treenodes, and execute some function on this contentpanel? the treenode shouldn't be removed the tree... dont know if its possible, and how to start?
    maybe someone got a shorthand example?

  2. #2
    Sencha - Community Support Team jsakalos's Avatar
    Join Date
    Apr 2007
    Location
    Slovakia
    Posts
    27,664

    Default

    Quote Originally Posted by digitalkaoz View Post
    is it possible to make a content-panel a droptarget for treenodes, and execute some function on this contentpanel? the treenode shouldn't be removed the tree... dont know if its possible, and how to start?
    maybe someone got a shorthand example?
    Yes, it's possible. Setting of same ddGroup for tree and content panel is mandatory.

    There is a lot of examples on drag & drop on this forum - it's worth to search; also I'm using advanced DD in Accordion. You can see complete code on the Live Demo Page.
    Jozef Sakalos, aka Saki

    Education, extensions and services for developers at new http://extjs.eu
    News: Grid MultiSearch Plugin, Grid MultiSort Plugin, Configuring ViewModel Hierarchy


Posting Permissions

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