1. #1
    Sencha User woodville's Avatar
    Join Date
    Aug 2011
    Location
    Japan
    Posts
    27
    Vote Rating
    0
    woodville is on a distinguished road

      0  

    Default where is EventBinding in DragDropPlugin (SA2)

    where is EventBinding in DragDropPlugin (SA2)


    I'm using Sencha Architect Version: 2.2.2 Build 991. (Framework is Ext JS 4.2).

    I cannot find EventBinding Property for GridDragDropPlugin in Config pane.

    Is there anyone knows where it is? or how to use EventBinding for GridDragDropPlugin?

  2. #2
    Sencha - Architect Dev Team
    Join Date
    Jan 2009
    Location
    Frederick, Maryland
    Posts
    859
    Vote Rating
    32
    jminnick has a spectacular aura about jminnick has a spectacular aura about

      0  

    Default


    Quote Originally Posted by woodville View Post
    I'm using Sencha Architect Version: 2.2.2 Build 991. (Framework is Ext JS 4.2).

    I cannot find EventBinding Property for GridDragDropPlugin in Config pane.

    Is there anyone knows where it is? or how to use EventBinding for GridDragDropPlugin?
    Which event are you trying to handle?
    Jason Minnick
    Sencha Architect Development Team

  3. #3
    Sencha User woodville's Avatar
    Join Date
    Aug 2011
    Location
    Japan
    Posts
    27
    Vote Rating
    0
    woodville is on a distinguished road

      0  

    Default


    Dear jminnick,

    Thank you for reply.

    I want to use both "beforedrop" and "drop".

  4. #4
    Sencha User woodville's Avatar
    Join Date
    Aug 2011
    Location
    Japan
    Posts
    27
    Vote Rating
    0
    woodville is on a distinguished road

      0  

    Default


    I solved it by myself.

    I found "Basic Event Binding" in Toolbox.
    I dragged it to "GridDragDropPlugin" in Project Inspector and input fn value and name value as below.

    fn= onGriddragdroppluginBeforeDrop
    name= beforedrop
    (not yet for drop)

    Plus, I edited its code and worked fine.

    I'll try to make another Event Binding whose name is "drop".

    Thank you anyway.

  5. #5
    Sencha - Architect Dev Team
    Join Date
    Jan 2009
    Location
    Frederick, Maryland
    Posts
    859
    Vote Rating
    32
    jminnick has a spectacular aura about jminnick has a spectacular aura about

      0  

    Default


    Yup- that should work fine. Post back here if you run into any other issues!
    Jason Minnick
    Sencha Architect Development Team

  6. #6
    Sencha User woodville's Avatar
    Join Date
    Aug 2011
    Location
    Japan
    Posts
    27
    Vote Rating
    0
    woodville is on a distinguished road

      0  

    Default


    Thank you.

    I love Sencha Architect!
    It's wonderful!

Thread Participants: 1