diff --git a/src/DataTableBuilderInterface.php b/src/DataTableBuilderInterface.php index e3d0dcd3..803bde4f 100755 --- a/src/DataTableBuilderInterface.php +++ b/src/DataTableBuilderInterface.php @@ -144,6 +144,25 @@ public function setAutoAddingBatchCheckboxColumn(bool $autoAddingBatchCheckboxCo */ public function getRowActions(): array; + /** + * @throws InvalidArgumentException if row action of given name does not exist + */ + public function getRowAction(string $name): ActionBuilderInterface; + + public function hasRowAction(string $name): bool; + + /** + * @param class-string|null $type + */ + public function createRowAction(string $name, ?string $type = null, array $options = []): ActionBuilderInterface; + + /** + * @param class-string|null $type + */ + public function addRowAction(ActionBuilderInterface|string $action, ?string $type = null, array $options = []): static; + + public function removeRowAction(string $name): static; + public function isAutoAddingActionsColumn(): bool; public function setAutoAddingActionsColumn(bool $autoAddingActionsColumn): static;