Skip to content

Commit 5c10fd3

Browse files
committed
fix: do not throw error if column control is not yet supported
1 parent 0090df4 commit 5c10fd3

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/DataTableAbstract.php

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
use Psr\Log\LoggerInterface;
1111
use Yajra\DataTables\Contracts\DataTable;
1212
use Yajra\DataTables\Contracts\Formatter;
13-
use Yajra\DataTables\Exceptions\Exception;
1413
use Yajra\DataTables\Processors\DataProcessor;
1514
use Yajra\DataTables\Utilities\Helper;
1615

@@ -736,12 +735,9 @@ protected function filterRecords(): void
736735
$this->filteredCount();
737736
}
738737

739-
/**
740-
* @throws \Yajra\DataTables\Exceptions\Exception
741-
*/
742738
public function columnControlSearch(): void
743739
{
744-
throw new Exception('Column control search is not supported by this engine.');
740+
// Not implemented in the abstract class.
745741
}
746742

747743
/**

0 commit comments

Comments
 (0)