【问题标题】:yii booster - not loading property TbExtendedGridViewyii booster - 不加载属性 TbExtendedGridView
【发布时间】:2025-12-20 21:55:06
【问题描述】:

我想将 $this->widget('bootstrap.widgets.TbExtendedGridView', array(.... 添加到我的代码中,但出现以下错误:

错误 500 未定义属性“TbExtendedGridView.rowHtmlOptionsExpression”。

我更新到 1.07 版,但仍然出现此错误。

我真的很想知道当 iam 使用最新版本以及 TbGridView 工作时为什么会出现此错误,但是在此页面上 http://yiibooster.clevertech.biz/extended-grid.html 它声明您可以将 'fixedHeader' => true,TbGridView 一起使用但对我来说它不起作用。

【问题讨论】:

    标签: twitter-bootstrap yii yii-extensions


    【解决方案1】:

    rowHtmlOptionsExpression 是在 Yii 1.1.13 中引入的,所以升级到这个版本。

    【讨论】:

    • 我必须更新 yii 框架?我正在使用 Yii Framework v1.1.12