diff --git a/src/Grid.php b/src/Grid.php index 45795c39b1..de62802521 100644 --- a/src/Grid.php +++ b/src/Grid.php @@ -211,6 +211,8 @@ protected function handleExportRequest($forceExport = false) return; } + ob_end_clean(); + $this->model()->usePaginate(false); $exporter = (new Exporter($this))->resolve($this->exporter)->withScope($scope);