diff --git a/src/Html/Column.php b/src/Html/Column.php index d76551e..a574f54 100644 --- a/src/Html/Column.php +++ b/src/Html/Column.php @@ -588,11 +588,11 @@ public function titleAttr(mixed $value): static /** * Set excel column format when exporting. * - * @param string $format + * @param string|callable $format * @return $this * @see https://github.com/yajra/laravel-datatables-export */ - public function exportFormat(string $format): static + public function exportFormat(string|callable $format): static { $this->attributes['exportFormat'] = $format;