[FX.php List] drag+drop using AJAX
biscuit technologies
biscuit.tech at gmail.com
Tue May 22 17:34:14 MDT 2007
Thanks for the tip Dale, can you explain to me how you are getting the
new sort order back into Filemaker?
For instance, I have a group of people that need to be split up into
three groups - what I want to do is present them as three unordered
lists and be able to move them across columns and then send the new
order back to Filemaker as an edit for the found set.
1-A
2-A
3-B
4-C
5-C
becomes:
1-C
2-A
3-C
4-A
5-C
(or whatever)
I'm not too experienced with all this, so maybe you can help me out a
little with the logic?
Thanks,
David
On 5/19/07, Dale Bengston <dbengston at preservationstudio.com> wrote:
> You can use the built-in functions in Scriptaculous to do drag/drop.
> That's what I use. My partner and I have used it to add products to
> an order, as well as letting admin users change sort order on lists.
> Pretty cool stuff.
>
> Dale
>
> On May 19, 2007, at 4:06 PM, biscuit technologies wrote:
>
> > Hi,
> > I'm new to the list but I've been through the archives and as far as I
> > can tell this hasn't been covered - excuse me if I'm mistaken.
> >
> > I'm trying to come up with a method of using AJAX to display a list
> > (<ul><li>) of items that can be sorted via drag+drop across UL's and
> > then have the data posted back to Filemaker.
> >
> > I've got it sort of working using the demo file for FX and a simple
> > database based on the SAJAX demo posted at
> > http://www.cyberdummy.co.uk/test/dd.php
> >
> > But I've hit against my limited PHP knowledge trying to do more than
> > one filtered find in a single page in order to render the multiple
> > lists and I haven't figured out how to send the data back to Filemaker
> > yet either.
> >
> > I am hoping someone on the list can help me out and if possible I'd
> > like to have the whole method be available to the group at least in
> > proof of concept form.
> >
> > I'd be happy to post what I've got so far if anyone is interested, you
> > can see where I've gotten it so far at http://brioche.cheesed.com/FX/
> >
> > Thanks!
> >
> > - David
> > _______________________________________________
> > FX.php_List mailing list
> > FX.php_List at mail.iviking.org
> > http://www.iviking.org/mailman/listinfo/fx.php_list
>
> _______________________________________________
> FX.php_List mailing list
> FX.php_List at mail.iviking.org
> http://www.iviking.org/mailman/listinfo/fx.php_list
>
More information about the FX.php_List
mailing list