The simplest example
You don't need to write views, models, controllers, libraries , form validations, datagrid paging/sorting/searching, adding again the same CSS, Javascripts, copy the same code again and again .
With just three lines of code you get all that you want:
function my_boss_is_in_a_hurry() { $crud = new grocery_CRUD(); $crud->set_table('customers'); $crud->columns('customerName','phone','addressLine1','creditLimit'); $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