Issue #42 resolved

Demo-code for GridView is not working

mikrobi
created an issue

When I use the demo-code from http://www.cniska.net/yii-bootstrap for a BootGridView I get the following execption:

Property "BootGridView.type" is not defined.

Comments (6)

  1. Anonymous

    Hi Chris,

    When I use your demo code of Boot GridView, I get the following error :

    Trying to get property of non-object at BootButtonColumn(60)

    Line 60 $url = isset($button['url']) ? $this->evaluateExpression($button['url'], array('data'=>$data, 'row'=>$row)) : '#';

    Is there any solution? I'm using the latest yii-bootstrap.

    Thanks.

  2. obwa

    As it seems, the democode is wrong.

    Changing $this->widget('bootstrap.widgets.BootGridView', array(

    to $this->widget('bootstrap.widgets.TbGridView', array(

    worked for me.

  3. Log in to comment