A common usage of GroceryCRUD is to be used in an already existing admin template or an already existing project. As jQuery is a bit heavy library by its own, it is important to be loaded only once. For example, if your project already have jQuery we don't have to load it again. In that case we are using the
unsetJquery method. The syntax is simple as it doesn't take any parameters.
You can see a full example below:
$crud->setTable('customers'); $crud->setSubject('Customer', 'Customers'); $crud->columns(['customerName','phone','addressLine1','creditLimit']); $crud->unsetJquery(); $output = $crud->render();