Structures_DataGrid::setRenderer()
-- Set Renderer
Description
Defines which renderer to be used by the DataGrid based on given $type and $options. To attach an existing renderer instance, use attachRenderer() instead.
Parameter
- string
$type
The defined renderer string
- array
$options
Rendering options
Return value
returns
Renderer instance or PEAR_Error
Throws
throws
no exceptions thrown
Note
This function can not be called
statically.