⚠ In case you've missed it, we have migrated to our new website, with a brand new forum. For more details about the migration you can read our blog post for website migration. This is an archived forum. ⚠

  •     

profile picture

callback_column with array



Robert

Robert
  • profile picture
  • Member

Posted 30 July 2014 - 14:08 PM

I want to pass in a column more data then 1 row.

// callback column
public function _callback_test($value, $row) {
$test= $this->Misc->getDen($row->id,'aaaa','bbbb','1');
     foreach ($test as $key => $value) {
           return $value->xxxx;
    }
}

the array $test has 4 records but i only see 1 in the view. Any info how can i pass to the column all the array ?

 


Robert

Robert
  • profile picture
  • Member

Posted 30 July 2014 - 17:11 PM

Plz remove duplicate !