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