Here is the change I made in my code to accommodate:

Old code:

columns=['assetType.name']

New code:

fields=[db.assetType.name]

Other than that, seems like they work the same. Can anyone provide a deeper explanation of the differences?

    -Jim


On 11/10/2011 9:17 AM, Jim Steil wrote:
Hi

I just updated my web2py from trunk today and noticed that the columns arg in SQLFORM.grid is gone. I was using it to specify which fields to display in my grid. Can the 'fields' arg be used the same as columns?

    -Jim

Reply via email to