x-editable inside sub-grid of TbRelationalColumn not working
I have in my parent grid view:
...
array
(
'name'=>'indent_no', 'header'=>'Indent No',
'headerHtmlOptions'=>array('style' =>'text-align: center;'),
'htmlOptions'=>array('style' =>'color: red;text-align: center;'),
'class'=>'bootstrap.widgets.TbRelationalColumn',
'url' => $this->createUrl('indent/view'),
'afterAjaxUpdate' => 'js:function(tr,rowid,data){ }',
'cacheData' => false,
'type'=>'raw',
),
...
And in the child-grid:
...
array
(
'class' => 'editable.EditableColumn',
'name'=> 'indented_item_status',
'sortable' => false,
'header'=>'Status',
'type'=>'raw',
'headerHtmlOptions'=>array('style' =>'text-align: center;'),
'editable' => array
(
'type' => 'select',
'url' => Yii::app()->createUrl('indent/block'),
'source'=> Editable::source(array('Blocked'=>'Blocked','Active'=>'Active')),
),
'htmlOptions'=> array('style' =>'text-align: center;')
),
...
But the field meant for editing is not becoming editable. It just displays the value retrieved from database.
However, x-editable is working at the parent-grid level.
Can someone please help?