post by tcdev0 on Nov 25, 2025

Is there a way in Grocery Crud Enterprise 3.2.4 use callbackColumn() (for example to display e-mail-addresses as clickable links) but keep the inline edit functionality (if necessary only when the double click hits the empty area in the cell around the link, I’d be OK with that)?

$crud->setTable('customers');

$crud->columns(['given_name', 'surname', 'email_address']);
$crud->fields(['given_name', 'surname', 'email_address']);
$crud->inlineEditFields(['given_name', 'surname', 'email_address']);
$crud->fieldType('given_name', 'string');
$crud->fieldType('surname', 'string');
$crud->fieldType('email_address', 'email');

$crud->callbackColumn('email_address', function($value, $row) {
  if (!empty($value)) {
    return '<a href="mailto:' . $value . '">' . $value . '</a>';
  }
});

post by johnny on Nov 30, 2025

Hello @tcdev0 ,

Currently this was disabled on Grocery CRUD because I had some issues with callback columns and quick edit at the initial version. I have added the ability now so we can have it at the next version. I will let you know once the new version is released so you can get also this update the soonest possible.

Regards
Johnny

post by tcdev0 on Dec 1, 2025

4 months later

post by johnny on Apr 12

Hello @tcdev0 ,

I forgot to inform you that this is now fixed at the latest version. It was actually fixed at the version 3.2.7 which was released a while ago but I haven’t informed you. So latest version (3.2.9) will also have the ability to have callbackColumn with inline edit.

Regards
Johnny

1 / 4
Nov 2025