We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents bf27009 + 70b2e93 commit 184855dCopy full SHA for 184855d
src/Services/DataTable.php
@@ -433,7 +433,7 @@ protected function buildExcelFile()
433
return $this->buildFastExcelFile();
434
}
435
436
- if ($this->exportClass != DataTablesExportHandler::class) {
+ if (! is_subclass_of($this->exportClass, DataTablesExportHandler::class)) {
437
$collection = $this->getAjaxResponseData();
438
439
return new $this->exportClass($this->convertToLazyCollection($collection));
0 commit comments