Structures_DataGrid::generateColumns()
Description
This is a shortcut for adding simple columns easily, instead of creating them manually and calling addColumn() for each.
The generated columns are appended to the current column set.
Parameter
- array $fields
Fields and labels. Array of the form: array(field => label, ...) The default is an empty array, which means: all fields fetched from the datasource
