I'm trying to use callbackColumn but every time I get an empty cell in the datagrid.
I'm using this code:
$crud->columns(array('ddl_name', 'ddl_title', 'ddl_address', 'new_col')); $crud->displayAs(array('ddl_name' => 'name', 'ddl_title' => 'title', 'ddl_address' => 'address', 'new_col' => 'New Col')); $crud->callbackColumn('new_col', function($value, $row){ return 'some text'; });
Inside the td for this cell I receive this:
<td class="gc-data-container"><span> </span></td>
I'm using version 2.7.2 with Laravel 5.5
Please guide to the correct way to use it in Enterprise, I have been using GroceyCRUD Community for many years but is my first attempt with Enterprise.