unset_print

void unset_print()
Quick Description: Unset the print button and don't let the user to use this functionality.
Available for version >= 1.3

Unset the print button and don't let the user to use this functionality.

Example:

function example_with_unset_print()
{
    $crud = new grocery_CRUD();
 
    $crud->set_table('customers')
        ->set_subject('Customer')
        ->columns('customerName','contactLastName','phone','city','country','creditLimit');
 
    $crud->fields('customerName','contactLastName','phone','city','country','creditLimit');
    $crud->required_fields('customerName','contactLastName');
 
    $crud->unset_print();
 
    $output = $crud->render();
 
    $this->_example_output($output);
}
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