On 29 February 2012 16:44, Roderick <[email protected]> wrote: > Thanks Johann! > > 1. Can this be done with smartgrid? >
Not in a similar way. You can read more about that in http://www.web2py.com/books/default/chapter/29/7?search=smartgrid#SQLFORM.grid-and-SQLFORM.smartgrid-%28experimental%29 > 2. Can you give me an example of a dynamic query (e.g. what users > would type into the search field)? (for grid or smartgrid). > > Here is one built with the query button on one of my grids: akb_articles.title contains "water" and akb_articles.pubyear > "1990" and akb_articles.pubyear <= "2010" Experiment for yourself and explore the options. There is also a slice with examples on using SQLFORM.grid at http://www.web2pyslices.com/slices/take_slice/148 Regards Johann -- Because experiencing your loyal love is better than life itself, my lips will praise you. (Psalm 63:3)

