Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    #16
    Found wrong logic in my willAcceptDrop - that's why it wasn't allowing me. but now the question is, in willAcceptDrop, how do I find the leaf node that the user is dropping into? When I call this.getDropFolder() I obviously would not get the node I want...is there a getDropNode() or something on the tree grid? I can't seem to find the function in the lib

    Comment


      #17
      I think I may have found the issue - so when I was testing with 9.0, for leaf drops I would use the getDropIndex() to find the node that the user is dropping on - because in 9.0, it would give me the index of that node. But in 8.3, getDropIndex() gives me the NEW index just underneath the node. I don't want to blindly check for getDropIndex() -1 especial since it is fixed in 9.0. We cannot currently upgrade because there are issues with rendering that we have yet to debug.

      Comment


        #18
        getEventRow(), inherited from ListGrid, gives you the row that the mouse is over.

        Comment


          #19
          Thanks that does the job

          Comment

          Working...
          X