You can also get rid of it using server side DOM manipulation:
del grid[0][2] # the web2py_counter div is the third component within the
first div of the returned grid object
Anthony
On Sunday, October 30, 2011 6:00:12 AM UTC-4, peter wrote:
>
> I am hoping that the developers of SQLFORM.grid will add an option to
> hide the 'nn records found' message. In fact I do not think it should
> appear at all when there is no search in place. I have discovered a
> neat way of hiding this message
> Put in your layout.html (or more locally if you wish)
> <style>
> .web2py_counter { display:none}
> </style>
>
> Put it just before {{include}}
> Unfortunately it leaves a gap, but it is much better way of getting
> rid of the message than editing gluon.
>
> Peter