[web2py] Re: Grid console with rows per page selector

2013-10-01 Thread Cliff Kachinske
Anthony, I don't think I'm going to wrap the whole thing in another DIV, but I might use DIVs or maybe SPANS to style the search widget. My question was more like why use CAT in preference to DIV? I'm speculating it's because there was a desire to avoid a DIV tag in the html. On Tuesday, Octo

[web2py] Re: Grid console with rows per page selector

2013-10-01 Thread Anthony
> Why call CAT() here? Wouldn't DIV() do the same thing? > Is there a need to wrap it all in another DIV? If not, what's wrong with CAT()? Anthony -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.

[web2py] Re: Grid console with rows per page selector

2013-10-01 Thread Cliff Kachinske
Thank you, Massimo. The code is working, but the resulting console is not pretty as you can see here. I will see what I can do about fixing up the styling. Also I probably need to update the test set for this. > >

[web2py] Re: Grid console with rows per page selector

2013-10-01 Thread Massimo Di Pierro
form = search_widget and search_widget(sfields, url()) or '' is the same as: if search_widget: form = search_widget(sfields, url()) else: form = '' On Tuesday, 1 October 2013 07:49:40 UTC-5, Cliff Kachinske wrote: > > I'm modifying the SQLFORM.grid console to include a rows per page >