Append "hint-element" to droptarget

4 posts, 1 answers
  1. Patrick
    Patrick avatar
    3 posts
    Member since:
    Oct 2010

    Posted 15 Dec 2011 Link to this post

    Hi all

    the example here is showing the way to change the hint while dragging over different droptargets.
    Now I want to append the "hint-element" to the droptarget as  shown while dragging it.
    At the moment with this code it always appends the source element, but i don´t know how to add the hint-element.

    function droptargetOnDrop(e) {
      $target = $(e.target);
      $draggable = $(e.draggable.currentTarget);
      $target.append($draggable);
    }

    any ideas, code samples etc?

    Thank you, Paddy

  2. Answer
    Dimo
    Admin
    Dimo avatar
    8332 posts

    Posted 15 Dec 2011 Link to this post

    Hello Patrick,

    Please refer to the updated demo.

    http://jsfiddle.net/d5pkJ/9/

    Kind regards,
    Dimo
    the Telerik team
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
  3. Kendo UI is VS 2017 Ready
  4. Patrick
    Patrick avatar
    3 posts
    Member since:
    Oct 2010

    Posted 15 Dec 2011 Link to this post

    Hi Dimo, thank you. Exactly what i'm looking for.... BR, Paddy
  5. Buddhika
    Buddhika avatar
    1 posts
    Member since:
    Jan 2012

    Posted 24 Jan 2012 Link to this post

    I want to drop a kendo window to a tab when i move the window to a particular tab i want it to open and get the window...how can i do that??
Back to Top
Kendo UI is VS 2017 Ready