The constructor accepts 7 parameters that all help build and customize your datagrid column. A column object is "mapped" to a field in your dataset.
string $columnName - The name of the column to be printed.
string $fieldName - The name of the field for the column to be mapped to.
string $orderBy - The field to determine which to order the column by.
array $attribs - An associative array of attributes to be used for the column.
Замечание: Currently this is only used for the HTML Table renderer.
string $autoFillValue - The value to be printed if the cell is empty
string $formatter - The function to be called to allow for custom cell printing. See the section on "Using the Formatter".
Пред. | Начало | След. |
Structures_DataGrid_Column | Уровень выше | Structures_DataGrid_Renderer_HTMLTable |