So as you suggested db.table.id_field.readable=False or better in table
model directly readable=False so lazy_table works better...

Though, I am not sure it even works with SQLFORM.grid(), because I think it
needs you tell it specifically...

Richard


On Mon, Feb 17, 2014 at 4:39 PM, Jim S <[email protected]> wrote:

> Thanks Richard.  I'm looking for something a bit more global, where I
> don't have to specify it on each SQLFORM.grid call that I make.
>
> Something on the lines of crud.settings.showid = False
>
> I thought that might work for SQLFORM.grid as well, but my testing is
> showing that it doesn't.
>
> -Jim
>
>
> On Monday, February 17, 2014 3:21:36 PM UTC-6, Jim S wrote:
>>
>> Title pretty much says it all.  By default, I don't ever want to display
>> id fields in any of my SQLFORMs.  Is there a setting to globally turn this
>> off?
>>
>> -Jim
>>
>  --
> 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/groups/opt_out.
>

-- 
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/groups/opt_out.

Reply via email to