unsetSearchColumns

unsetSearchColumns(array $columns)

Unset the search on the datagrid from quick column search and from filtering. Especially useful when you use a custom field type or callbackColumn.

Example

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

$crud->columns(['customerName','phone','creditLimit', 'addressLine1', 'salesRepEmployeeNumber']);
$crud->unsetSearchColumns(['creditLimit', 'salesRepEmployeeNumber']);

$output = $crud->render();