In case you've missed it, you are looking at an older version of the website. Checkout our latest version, we promise you will love it 😍


void callback_read_field( string $field , mixed $callback )
Quick Description: This callback escapes the default auto field output of the field name at the read form.
Available for version >= 1.6.0


function example_callback_read_field(){
        $crud = new grocery_CRUD();
        $crud->callback_read_field('phone', function ($value, $primary_key) {
            return '+30 ' . $value;
        $output = $crud->render();
Note: The below example is an iframe so it might appeared with a scroll bar. If you like you can view the example on a new tab