i have a grid view and i would like to get value of column from another action controller.
at now i have this in controller 1
array(
'name'=>'title',
'value'=>array($this,'Action2'),
),
and i get this error:
controller1 and its behaviors do not have a method or closure named "Action2".
if i replace $this with "controller2"
array(
'name'=>'title',
'value'=>array('controller2','Action2'),
),
i get this error
call_user_func_array() [<a href='function.call-user-func-array'>function.call-user-func-array</a>]: First argument is expected to be a valid callback, 'controller2::action2' was given
maybe this is bad practice but is this feasible?