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(),
      ...

Leave a Comment

Your email address will not be published. Required fields are marked *