Results 1 to 2 of 2

Thread: Control drop status when using TreeViewDragDrop?

  1. #1
    Sencha Premium Member
    Join Date
    Aug 2012
    Posts
    10

    Question Control drop status when using TreeViewDragDrop?

    I'd like to have a callback that can tell the TreeViewDragDrop plugin when the dragged element is over a valid drop zone, but the existing allowDrag/allowDrop flags aren't precise enough -- I need to actually inspect record data. How do I go about doing this?

    (Do I need to reimplement the tree ViewDropZone and the plugin?)

  2. #2
    Sencha Premium User evant's Avatar
    Join Date
    Apr 2007
    Location
    Sydney, Australia
    Posts
    19,258
    Answers
    759

    Default

    If you grab the 4.2 beta, there's a new example that demonstrates this:

    http://cdn.sencha.com/ext/beta/4.2.0...rop-logic.html

    Hope it helps.
    Twitter - @evantrimboli
    Former Sencha framework engineer, available for consulting.
    As of 2017-09-22 I am not employed by Sencha, all subsequent posts are my own and do not represent Sencha in any way.

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
  •