Hi Michael!
Sorry, that was my bad. The correct version of setWidgetParams() must be as follows:
PHP Code:
public function setWidgetParams(array $params)
{
parent::setWidgetParams($params);
$this->widgetParams[static::PARAM_DISPLAY_MODE]->setValue(static::DISPLAY_MODE_LIST);
}
Please, let me know if it works for you.
Tony.