id field in VIEW TABLE - is for view only - why I can't modufy view of id field?
вторник, 20 января 2015 г., 23:08:03 UTC+3 пользователь Niphlod написал: > > field_id MUST be a pkey, so an integer: there's no support for string-like > keys in grid, because it's used as an argument. > > On Tuesday, January 20, 2015 at 6:15:21 AM UTC+1, Dmitry Ermolaev wrote: >> >> I need that ID become URL on view info of this record - same as View field >> >> понедельник, 25 августа 2014 г., 14:56:25 UTC+3 пользователь Anthony >> написал: >>> >>> What do you expect it to do, and what is happening instead? >>> >>> On Monday, August 25, 2014 3:00:47 AM UTC-4, Dmitry Ermolaev wrote: >>>> >>>> SQLFORM.grid(db.pets, >>>> field_id = db.pets.url, >>>> >>>> -- 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/d/optout.

