unsetBootstrap function to disable the load of bootstrap CSS from Grocery CRUD.
The syntax is simple as it doesn't require any parameters. For example:
With the above code, the CSS of twitter bootstrap is removed. It is important to be aware of that as you need to make sure that the template offers the required CSS for bootstrap before using the function
You can see a full example below:
$crud->setTable('customers'); $crud->setSubject('Customer', 'Customers'); $crud->columns(['customerName','phone','addressLine1','creditLimit']); $crud->unsetBootstrap(); $output = $crud->render();