Structures_DataGrid::generateColumns()
Описание
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.
Параметр
- 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
Пред. | Начало | След. |
Structures_DataGrid::fill() | Уровень выше | Structures_DataGrid::getColumnByField() |