Solved

Jquery-ajax based Drag Drop

Posted on 2010-11-24
5
597 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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

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 …
This article is meant to give a basic understanding of how to use R Sweave as a way to merge LaTeX and R code seamlessly into one presentable document.
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…

758 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

17 Experts available now in Live!

Get 1:1 Help Now