SQLFORM.grid(...., editable=...) editable can be True/False or a function that takes a row and returns True/False for each each row.
On Sunday, 16 October 2016 10:42:12 UTC-5, Tom2016 wrote: > > I need to list all the events that were registered by the members, but > only the non-approved record is editable, the approved record only can > view. how to do it? > -- 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 web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.