trait HasActions

Properties

protected Closure $actionsCallback

Callback for grid actions.

protected string $actionsClass

Actions column display class.

protected array $batchActions
protected $batchOperations

Methods

$this
actions(Closure|string $actions)

Set grid action callback.

string
getActionClass()

Get action display class.

$this
setActionClass(string $actionClass)

No description

batchActions($buttons)

Set grid batch-action callback.

Grid|mixed
disableBatchActions(bool $disable = true)

No description

string
renderBatchActions()

Render create button for grid.

string
skeletonBatchActions()

Render create button for grid.

Details

at line 43
$this actions(Closure|string $actions)

Set grid action callback.

Parameters

Closure|string $actions

Return Value

$this

at line 57
string getActionClass()

Get action display class.

Return Value

string

at line 71
$this setActionClass(string $actionClass)

No description

Parameters

string $actionClass

Return Value

$this

at line 86
HasActions batchActions($buttons)

Set grid batch-action callback.

Parameters

$buttons

Return Value

HasActions

at line 110
Grid|mixed disableBatchActions(bool $disable = true)

No description

Parameters

bool $disable

Return Value

Grid|mixed

at line 123
string renderBatchActions()

Render create button for grid.

Return Value

string

at line 142
string skeletonBatchActions()

Render create button for grid.

Return Value

string