Re: populate quickforms's hierselect via Ajax

From: Date: Tue, 26 Sep 2006 19:59:37 +0000
Subject: Re: populate quickforms's hierselect via Ajax
References: 1 2  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-25246@lists.php.net to get a copy of this message
Thanks Josh, for the push in the right direction. I've downloaded the presentation and have begun playing with it. Tom On Tue, 2006-09-26 at 12:01 -0700, Joshua Eichorn wrote: > Tom Melendez wrote: > > Hey Folks, > > > > I'm currently using HTML_Quickform's hierselect and it has been working > > out just fine. My issue now is that the total amount of data that the > > list needs to handle is too large (5 to six menus deep and about 6,000 > > records). > > > > Anyone have an ideas (sample code would be great too!) about how to > > handle this via an Ajax-type scenario, that is, only requesting the data > > as we need it? Can it be done with this control? > > > > Thanks, > > > > Tom > > > > > This wouldn't be hard to do, HTML_QuickForm_Livesearch already uses AJAX > so you could use its same setup, its just a matter of hooking up new events. > > Gabriel Ricard did a presentation showing the stand along AJAX menus > using HTML_AJAX you should be able to use his code to get an idea of > what is possible. > > http://wiki.bluga.net/index.php?area=HTML_AJAX&page=Examples > > -josh >

« previous php.pear.general (#25246) next »