Hi, I'm trying to unset a several options in the bootstrap theme but some of them don't work.
I've seen a post about delete, add and other functions, for me are these:
- unset_delete(); doesn't work.
- unset_edit(); work only when the windows is in a normal size, when I shrink it doesn't work anymore.
I'm adding part of my code and a couple of screenshots.
Thank you for the help.
function _plan_analisis($rol){ $crud = new grocery_CRUD(); $crud->set_theme('bootstrap'); $crud->set_subject('Año'); $crud->set_table('PLAN_OPERATIVO'); $crud->columns('NOMBRE_PLAN_OPERATIVO'); $crud->unset_read(); $crud->unset_add(); $crud->unset_delete(); $crud->unset_edit(); $output = $crud->render(); $this->_plan_output($output); }
Note: I've removed parts of the code just for made it easier to read (the parts are add and edit columns and other actions that work well).