The other big difference is that you can pass a query (in place of the table name) to .grid but not .smartgrid. Instead with .smartgrid, you pass query filters in the constraints argument.

    -Jim

On 1/10/2012 2:58 PM, Anthony wrote:
On Tuesday, January 10, 2012 3:43:13 PM UTC-5, Alexandre Miguel de Andrade Souza wrote:

    What is the diference to sqlform.grid or sqlform.smartgrid?


smartgrid is for exploring tables that are linked via references. It takes a single table, and it automatically provides links from the reference fields within that table to the referenced tables and records. See http://web2py.com/books/default/chapter/29/7#SQLFORM.grid-and-SQLFORM.smartgrid-(experimental).

Anthony

Reply via email to