Results 1 to 2 of 2

Thread: Drag and Drop

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

    Question Drag and Drop

    Hi,

    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?

    Thanks!

  2. #2
    Sencha - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    39,795
    Answers
    3957
    Vote Rating
    1314
      0  

    Default

    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! Checkout the CODE tag!

    Check out my GitHub, lots of nice things for Ext JS and Sencha Touch
    https://github.com/mitchellsimoens

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
  •