Monthly Archive: July 2013

Yii TbExtendedGridView Configurations

The following removes pagination: ‘template’ => “{items}”, The following gives a row effect (without column divider) // add ‘itemsCssClass’ => ‘table-cgrid items’, // remove ‘type’=>’striped bordered’, The header will float if there are many rows ‘fixedHeader’ => TRUE,

Apache2 enable .htaccess

To make .htaccess files work as expected, you need to edit this file: /etc/apache2/sites-available/default Look for a section that looks like this: Options Indexes FollowSymLinks MultiViews AllowOverride None Order allow,deny allow from all # Uncomment this directive is you want…
Read more

Yii TbExtendedGridView – TypeError: url is undefined

You may encounter a problem in Yii TbExtendedGridView: TypeError: url is undefined When you click the header or filter on the grid, the solution is simple just add the following to ExtendedGridView. $this->widget(‘bootstrap.widgets.TbExtendedGridView’, array( … ajaxUrl’=> Yii::app()->request->getUrl(), …