Results 1 to 5 of 5

Thread: [Solved] what event is fired when node is invalid in treepanel

  1. #1

    Default [Solved] what event is fired when node is invalid in treepanel

    hi everyone

    When a node is dropped it goes to beforenodedrop event in TreePanel

    But what happens when node is invalid ? it doesn't drop and so beforenodedrop event is not notified

    What event is that????? Can somebody please tell me?????

    Thanks alot in advance

  2. #2


    Really there isn't any event that is fired when a node is invalid????

    There must be some event???

    Please somebody help me

  3. #3
    Sencha User Condor's Avatar
    Join Date
    Mar 2007
    The Netherlands


    No, there is no event.

    You would have to do an inline override onNodeDrop (in dropConfig), that checks the return value from the original onNodeDrop.

  4. #4


    Thanks for replying

  5. #5


    Hi everyone

    To do some processing on a tree node after an invalid drop, there is a method in Ext.tree.TreeDragZone, override that method :

    Ext.override(Ext.tree.TreeDragZone, {
                // Code to be processed on node after an invalid drop
                this.dragging = false;
            getRepairXY : function(e){
                return false;
    Hope that helps somebody.

Similar Threads

  1. Treepanel+node selection event or disable keyboard navigation
    By rojar in forum Ext 2.x: Help & Discussion
    Replies: 3
    Last Post: 7 Apr 2011, 10:52 PM
  2. Replies: 1
    Last Post: 21 Sep 2010, 8:39 AM
  3. TreePanel: reloading data after node click event
    By webarts in forum Ext 3.x: Help & Discussion
    Replies: 0
    Last Post: 27 May 2010, 5:00 AM
  4. [SOLVED] treepanel click event sometimes is fired, and sometimes not
    By saprot in forum Ext 3.x: Help & Discussion
    Replies: 7
    Last Post: 19 Mar 2010, 4:25 AM

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