require_once 'Structures/DataGrid.php';
mixed& Structures_DataGrid::setRenderer (string $type, array [$options = array()])
mixed& Structures_DataGrid::setRenderer
Defines which renderer to be used by the DataGrid based on given $type and $options. To attach an existing renderer instance, use attachRenderer() instead.
The defined renderer string
Rendering options
returns Renderer instance or PEAR_Error
throws no exceptions thrown
see Structures_DataGrid::attachRenderer()
This function can not be called statically.