Results 1 to 2 of 2

Thread: Drag and Drop

  1. #1
    Sencha User
    Join Date
    Mar 2012
    Vote Rating

    Question Unanswered: Drag and Drop


    I'm just looking at Sencha Touch 2 as an option for a new app I want to build. Critical to the app is the ability to drag and drop. I need to essentially sort a list of words between different categories. I want to make a large "box" for each category and lots of smaller boxes for the words. You would drag the words into the desired box which would fire event causing an AJAX call to tell my server which word was put into which box.

    To do this I need to be able to define UI components as draggable and others as possible drop targets and I need to be able to do stuff when something is dragged.

    Is this possible with Sencha Touch 2? I saw that components can be made draggable, but I didn't see where I could define the drop targets.

    Is there documentation or a tutorial for this?


  2. #2
    Sencha - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Gainesville, FL
    Vote Rating


    The Droppable class isn't supported in the GA release. This will be worked on for a 2.0.x release.
    Mitchell Simoens @LikelyMitch
    Sencha Inc, Senior Software Engineer
    Learn BBCode and use it!

    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2

    Think my support is good? Get more personalized support via a support subscription.

    Need more help with your app? Hire Sencha Services

    Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!

    When posting code, please use BBCode's CODE tags.

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