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 ff1d37c + fe3291f commit 8b21367Copy full SHA for 8b21367
src/Html/Column.php
@@ -567,6 +567,20 @@ public function titleAttr($value)
567
return $this;
568
}
569
570
+ /**
571
+ * Set excel column format when exporting.
572
+ *
573
+ * @param string $format
574
+ * @return $this
575
+ * @see https://github.com/yajra/laravel-datatables-export
576
+ */
577
+ public function exportFormat($format)
578
+ {
579
+ $this->attributes['exportFormat'] = $format;
580
+
581
+ return $this;
582
+ }
583
584
/**
585
* @return array
586
*/
0 commit comments