FormAlchemy/formalchemy — pull request #48 by smurfix (2013-11-25 13:09:36+00:00)
Title: Grid interface: iterate columns

Instead of using a "public" method which starts with an underscore
(which leads to errors if forgotten to call, and also some frameworks
prevent calling of leading-underscore methods from template code for
safety), just iterate the collection directly.

That is, instead of writing

for row in collection.rows:
collection._set_active(row)
… do something with this row

you can now simply write

for row in collection:
… do something with this row