diff --git a/src/DataTable.php b/src/DataTable.php index b48bc140..da8bc558 100755 --- a/src/DataTable.php +++ b/src/DataTable.php @@ -584,7 +584,7 @@ public function export(?ExportData $data = null): ExportFile $data = $event->getExportData(); if (ExportStrategy::IncludeAll === $data->strategy) { - $this->paginate(new PaginationData(page: 1, perPage: null), persistence: false); + $dataTable->paginate(new PaginationData(page: 1, perPage: null), persistence: false); } if (!$data->includePersonalization) {