void
Structures_DataGrid::generateColumns
(
array
$fields = array()
)
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.
$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
throws no exceptions thrown
This function can not be called statically.