I think an Add button by itself would look better, maybe with the same
background as the search header.

On Oct 27, 8:44 pm, Bob St John <bobinco...@gmail.com> wrote:
> using 1.99.2
>
> SQLFORM.grid...
>
> I don't see the need for this statement...
>
> line 1641: if not searchable and not rows: return DIV(T('No records
> found'))
>
> If it was removed a user would see an empty grid rather than just a
> div, no matter what the value of 'searchable' was.
>
> An empty grid allows the user to add a record, which seems more usable
> than the 'No records found' result when searchable=False

Reply via email to