SQLFORM.grid(..., advanced_search=False) More generally, the "searchable" argument can be a callable that executes a custom search, and the "search_widget" argument can be a callable that generates a custom search widget for the UI. With the combination of those two arguments, you can create whatever kind of customized search you want.
Anthony On Monday, April 24, 2017 at 5:28:03 AM UTC-4, Gael Princivalle wrote: > > Hello. > > Is it possible to customize a SQLFORM.grid for having only the global > search field? > In other words by default when the user click in the global search field > another area is displayed that give the possibility to the user to choose > in which field he would like to search. I would like to not display this > area. > > Thanks in advance. > -- 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 [email protected]. For more options, visit https://groups.google.com/d/optout.

