I have not set readable flag during db definition. Is it set to False by 
default, for compute fields ?

On Tuesday, August 14, 2012 6:16:20 PM UTC+5:30, rochacbruno wrote:
>
> in your controller..
>
> if request.args(0) == "view":
>     db.table.field.readable = True
>
> grid = SQLFORM.grid(.....)
>

Does NOT seem to work.  computed field is still not visible.

My current workaround : remove compute attribute, I can see it (I've then 
marked it as writable=False so that it is NOT editable in Edit form)
But I'm not happy with it.

BTW, I'm using Version 2.0.0 (2012-07-26 06:06:10) dev

-Mandar 

-- 



Reply via email to