Solved

Jquery-ajax based Drag Drop

Posted on 2010-11-24
5
598 Views
Last Modified: 2012-05-10
In PHP We are listing out users according to there status (Passed, Failed, Appeared and Not Appeared) in status columns and columns heading as status.

We need an Jquery/Mootools based drag drop functionality, wherein visitor can drag the user by its username and just drop it to another column (status). It should have an Ajax call and update the user status.

Please see the attachment in that you can see Andy is dragged and dropped in to Not Appeared section. so on dropping the database(Mysql) should be updated to Andy status as Not Appeared.

Kindly suggest any plugin/option for the same.  
Drag-Drop.JPG
0
Comment
Question by:V2Solutions
  • 3
  • 2
5 Comments
 
LVL 42

Expert Comment

by:Rob Jurd, EE MVE
ID: 34210367
I've used the tool man library to achieve this.  It's not jquery or mootools so you would need to check compatibility

demo: http://neb.net/playground/dragdrop/

http://blog.tool-man.org/2005/04/15/drag-between-lists/
http://tool-man.org/examples/sorting.html
0
 
LVL 42

Expert Comment

by:Rob Jurd, EE MVE
ID: 34210369
First step would be to have an update button that the user can click, which i understand isn't ideal.  An event driven solution would be best though i'm not 100% sure of the event you would need to capture to do this and maybe having the button makes the user double check before updating?
0
 
LVL 42

Accepted Solution

by:
Rob Jurd, EE MVE earned 500 total points
ID: 34210373
Done some more investigation and found this one, that uses jquery

http://thechriswalker.net/select-drag/
0
 

Author Comment

by:V2Solutions
ID: 34211207
thanks for the options guys.

Please let me have a look and see if this is feasible for my requirement. Much appreciated.

0
 

Author Closing Comment

by:V2Solutions
ID: 34442160
thanks for the solution
0

Featured Post

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
ICACL switch help. How to include current folder 2 37
regx  exclude  pattern 6 28
Angular - break the dataset in chunks? 7 39
how can i count words? 2 18
The Confluence of Individual Knowledge and the Collective Intelligence At this writing (summer 2013) the term API (http://dictionary.reference.com/browse/API?s=t) has made its way into the popular lexicon of the English language.  A few years ago, …
I found this questions asking how to do this in many different forums, so I will describe here how to implement a solution using PHP and AJAX. The logical flow for the problem should be: Write an event handler for the first drop down box to get …
The viewer will learn how to dynamically set the form action using jQuery.
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.

895 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now