1. #1
    Ext User
    Join Date
    Jul 2008
    Vote Rating
    maraqa84 is on a distinguished road


    Default Drag and Drop Validation

    Drag and Drop Validation

    Dear all

    i have problem in gxt regarding validation on drag and drop what i need is example that show me how to validate
    drop on node i tried something like

    event.setCancelled(true) <-- they says in docs that it cancel event but i see that the node is added to the ui
    although i cancelled event (i need to prevent this)

    event.getStatus().setStatus(false) <-- they says in docs that update the proxy and set the status to false
    to show invalid drop but it always show valid drop sign the drop
    operation took place

    please help me in validate drop operation and cancel it if it is invalid so the
    ui not to updated and prevented from adding node in the wrong place

    thanks all

  2. #2
    Ext GWT Premium Member
    Join Date
    Jul 2011
    Vote Rating
    hoitsce-5 is on a distinguished road



    Hi all, any solutions for this problem ? l am facing the same problem too >.< ~~~

Similar Threads

  1. TreeGrid Drag and Drop Validation
    By maraqa84 in forum Ext 3.x: Help & Discussion
    Replies: 0
    Last Post: 3 Jul 2010, 10:22 PM
  2. Replies: 1
    Last Post: 14 Apr 2009, 2:13 PM
  3. Replies: 2
    Last Post: 10 Dec 2008, 9:07 PM

Thread Participants: 1