The method unsetDeleteMultiple is removing completely the multiple Delete operation for the end-user. This is mainly a function that it is used when you don't want the user to have the ability to batch remove too many records at once. Have in mind that the user can remove rows one by one (even all of them!) but by removing this functionality it is just that you don't make it as easy to do and at the same time prevent them to do it.

More specifically:

  1. It is removing the button "Delete" when it comes to multiple deletion
  2. It is removing the button checkboxes at the left so the user will not be confused
  3. The user doesn't have the ability to Remove multiple data even if they try to do it by having the URL of the API (e.g. the permission is not allowed)

The syntax is simple. You can find an example below:


You can also see a full working example:

$crud->setSubject('Customer', 'Customers');

$output = $crud->render();

You can see the results of the above example here. As you can see by your own, the operation multiple Delete is completely removed: