[CLOSED] drag and drop checkbox

  1. #1

    [CLOSED] drag and drop checkbox

    Quick question. This is my drop target. notifyOver returns true when it is valid and false when not. notify drop accepts the drop and returns true and false also.

    The only issue is that when I drag the cell over a VALID drop location, the green check is missing. When I drag it over a INVALID location, I see the red circle with line.

    Where did my green check go? If I remove the notifyOver method, I see the green check at all times.
    /Z


            <ext:DropTarget ID="DropTarget1"        
                            runat="server"        
                            Target="={GridPanelA.view.scroller.dom}"        
                            Group="ddGroup" >        
                <NotifyDrop Fn="notifyDrop" />    
                <NotifyOver Fn="notifyOver" />
            </ext:DropTarget>
    Last edited by Daniil; Feb 15, 2014 at 5:48 AM. Reason: [CLOSED]
  2. #2
    Hi @Z,

    I think a NotifyOver should return a string with a CSS class, not true or false.
    http://docs.sencha.com/extjs/3.4.0/#...hod-notifyOver
  3. #3
    yeah. that would be helpful :)

    I now return this.dropAllowed and this.dropNotAllowed and it works perfectly now.

    /Z

Similar Threads

  1. [CLOSED] Checkbox is not able uncheck in grid panel with drag and drop
    By rnachman in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: Jan 02, 2012, 6:13 AM
  2. Drag'n Drop
    By Yannis in forum 1.x Help
    Replies: 1
    Last Post: Oct 28, 2009, 6:14 PM
  3. Drag Drop
    By designworxz in forum 1.x Help
    Replies: 0
    Last Post: Feb 19, 2009, 11:46 PM
  4. [CLOSED] MultiSelect with drag and drop, Drop listener
    By Jurke in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: Jan 30, 2009, 8:25 AM
  5. Drag & Drop
    By iwen in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: Nov 26, 2008, 1:23 PM

Posting Permissions