unset_columns
void unset_columns(array $var)
Quick Description: Unset columns from the list
Unset columns from the list. This function is really useful when you want to show all the fields of the table to the list... except some fields
Example:
function film_management_list() { $crud = new grocery_CRUD(); $crud->set_table('film'); $crud->set_theme('datatables'); $crud->unset_operations(); $crud->unset_columns(array('description','special_features','last_update','actors','category')); $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