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 36fb107 + 254db16 commit 63ed890Copy full SHA for 63ed890
src/Html/Column.php
@@ -588,11 +588,11 @@ public function titleAttr(mixed $value): static
588
/**
589
* Set excel column format when exporting.
590
*
591
- * @param string $format
+ * @param string|callable $format
592
* @return $this
593
* @see https://github.com/yajra/laravel-datatables-export
594
*/
595
- public function exportFormat(string $format): static
+ public function exportFormat(string|callable $format): static
596
{
597
$this->attributes['exportFormat'] = $format;
598
0 commit comments