YiiBooster: TbJsonGridView - Parser error!
Hi.
we are using TbJsonGridView but it return a Parser error! on a alert when some body click on page number for pagination ,search ,sort link , Please guide us How to fix this , Code are as follows:
$this->widget('bootstrap.widgets.TbJsonGridView', array(
'dataProvider' => $model->search(),
'filter' => $model,
'type' => 'striped bordered condensed',
'json' => true,
//'ajaxUpdate' => true,
'summaryText' => false,
'cacheTTL' => 10, // cache will be stored 10 seconds (see cacheTTLType)
'cacheTTLType' => 's', // type can be of seconds, minutes or hours
'columns' => array(
'id_feedback',
'feedback',
'felkod',
array(
//'header' => Yii::t('ses', 'Action'),
'class' => 'bootstrap.widgets.TbJsonButtonColumn',
'template' => '{view} {update}',
),
),
));

About this issue
- Original URL
- State: closed
- Created 12 years ago
- Comments: 18 (6 by maintainers)
Your issue is with TbButtonColumn, you need to use TbJsonButtonColumn!