10 Yii::import(
'booster.widgets.TbJsonGridColumn');
32 if ($this->grid->json) {
33 $data = $this->grid->dataProvider->data[$row];
34 $options = $this->htmlOptions;
35 if ($this->cssClassExpression !== null) {
36 $class = $this->evaluateExpression($this->cssClassExpression, array(
'row' => $row,
'data' =>
$data));
37 if (isset($options[
'class'])) {
38 $options[
'class'] .=
' ' .
$class;
40 $options[
'class'] =
$class;
44 $col[
'attrs'] = CHtml::renderAttributes($options);
62 if ($this->grid->json) {
63 if ($this->
value !== null) {
64 $value = $this->evaluateExpression($this->
value, array(
'data' =>
$data,
'row' => $row));
65 } elseif ($this->name !== null) {
68 $value = !isset($value)
69 ? $this->grid->nullDisplay
70 : $this->grid->getFormatter()->format(