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 😍

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