[web2py] Re: editable=lambda row: check(row), : make user's row editable, and the rest read only

2012-12-17 Thread villas
In this case I usually make editable=False and then make my own 'Edit' link button for just those records the user is allowed to change. On Monday, December 17, 2012 8:09:47 PM UTC, Adi wrote: Is it possible to display all rows in grid, but make editable only a row that belongs to a

[web2py] Re: editable=lambda row: check(row), : make user's row editable, and the rest read only

2012-12-17 Thread Adi
Thanks Villas. That did it :) I thought I could do it directly through editable, so spent some time trying in different ways, but didn't realize that created_by (field i was filtering on) was readable=writable=False, hahaha... Thanks for a quick answer On Monday, December 17, 2012 6:46:41