unsetExportPdf

unsetExportPdf(void)

The method unsetExportPdf is removing only the "PDF" export button from the datagrid.

Example

At the below example press the button "Export" to see that we have only one option available.

$crud->setTable('customers');
$crud->setSubject('Customer', 'Customers');
$crud->columns(['customerName','phone','addressLine1','creditLimit']);

// Removes only the PDF button on export
$crud->unsetExportPdf();

$output = $crud->render();