Structures_DataGrid::addColumn()

Structures_DataGrid::addColumn()

Structures_DataGrid::addColumn() --  Adds a Structures_DataGrid_Column object to the DataGrid's column collection

Description

This method is used to add a Structures_DataGrid_Column object to the DataGrid's Column Collection. If no columns are added to the collection, the DataGrid will attempt to use it's own column names that can be gathered from the data set. However, once you use this method, the DataGrid will no longer attempt to auto-generate columns for you.

Parameter

Structures_DataGrid_Column $column

The Structures_DataGrid_Column object to be defined.

© Copyright 2003-2023 www.php-editors.com. The ultimate PHP Editor and PHP IDE site.