Dear Richard, Would you (and Jim) please post your sample code?
Thanks in advance. Love and peace, Joe On Thursday, April 24, 2014 8:10:01 AM UTC-7, Richard wrote: > > I am reading the sqlhtml.py search_widget... > > So I would just pass my function (search widget) like that : > > SQLFORM.grid(..., > search_widget=my_search_widget_function) > > ? > > Thanks > > Richard > > > On Thu, Apr 24, 2014 at 10:38 AM, Jim S <j...@qlf.com <javascript:>> > wrote: > >> Yes, you definitely can. >> >> I don't ever use the default search. >> >> In a nutshell, you have to create your own search form and then apply the >> results of that form to the query passed to the grid. Let me know if you >> need an example and I'll see if I can put a quick one together for you >> today. >> >> -Jim >> >> >> On Thursday, April 24, 2014 9:18:39 AM UTC-5, Richard wrote: >>> >>> Hello, >>> >>> Is it possible to create my own search widget? How does I get the grid >>> to use it? >>> >>> Thanks >>> >>> Richard >>> >> -- >> Resources: >> - http://web2py.com >> - http://web2py.com/book (Documentation) >> - http://github.com/web2py/web2py (Source code) >> - https://code.google.com/p/web2py/issues/list (Report Issues) >> --- >> You received this message because you are subscribed to the Google Groups >> "web2py-users" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to web2py+un...@googlegroups.com <javascript:>. >> For more options, visit https://groups.google.com/d/optout. >> > > -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.