diff --git a/src/Html/Column.php b/src/Html/Column.php index e4818ce..61cc1b2 100644 --- a/src/Html/Column.php +++ b/src/Html/Column.php @@ -491,6 +491,20 @@ public function render(mixed $value): static return $this; } + /** + * Set Callback function to render column for Print + Export + * + * @param callable $callback + * @return $this + + */ + public function exportRender(callable $callback): static + { + $this->attributes['exportRender'] = $callback; + + return $this; + } + /** * Parse render attribute. *