⚠ 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

callbackCalumn is not work in 2.7.5 version



kothawademayur24
  • profile picture
  • Member

Posted 10 April 2020 - 12:46 PM

Hello , 
 
I am new in grocery crud  , i have use callbackColumn() for set value in "ContentItems" column but it is not working in grocery crud enterprise 2.7.5 version 
 
$crud->callbackColumn('ContentItems', function ($value, $row) {
                 $questions = $this->eexam->get_topic_questions($row->id);
                 return $questions;

 

        });

 

 

can you please help me what was wrong in this ?