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