I believe smartgrid uses the table _plural attribute for the first item in the smarrgrid breadcrumb. If _plural is not set, it uses the table name and a pluralization function to create the name.
You can set the attributes in the define table method, e.g., singular="Dog", plural="Dogs" You can also set directly right before you create the smartgrid with: db.dog._plural = 'dogs' Many, maybe all, of the attributes are exposed using a leading underscore so they won't conflict with field names. On Tuesday, June 3, 2014 9:52:38 AM UTC-4, LoveWeb2py wrote: > > Noob question -- I searched around and couldn't find an answer on how to > change the SQLFORM.smartgrid label which displays the name of the database. > > I know you can set fields in a table by typing label='newName', but how > can I change the table name itself so it doesn't display the table name in > smartgrid (and its also plural) > -- 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.

