ListGridOperation
class ListGridOperation extends ListBase
Traits
Macroable
Properties
$title | from ListBase | ||
protected Grid | $grid | from ListBase | |
protected | $showRowSelector | ||
protected Collection | $columns | Collection of all grid columns. |
from ListBase |
protected PamAccount | $pam | from ListBase |
Methods
array|Closure
batchAction()
批量操作
$this|bool|Column
addRelationColumn(string $name, string $label = '')
Add a relation column to grid.
from
ListBase
addJsonColumn(string $name, string $label = '')
Add a json type column to grid.
from
ListBase
bool|Column
handleGetMutatorColumn(string $method, string $label)
Handle get mutator column for grid.
from
ListBase
bool|Column
handleRelationColumn(string $method, string $label)
Handle relation column for grid.
from
ListBase
mixed
columns()
No description
Details
in
ListBase at line 61
bool
isShowRowSelector()
No description
in
ListBase at line 96
Column
__call(string $method, array $parameters)
Dynamically add columns to the grid view.
in
ListBase at line 122
Collection
getColumns()
No description
in
ListBase at line 133
mixed
actions()
添加操作项目, 合并到列处理¶
at line 66
array|Closure
batchAction()
批量操作
in
ListBase at line 156
protected $this|bool|Column
addRelationColumn(string $name, string $label = '')
Add a relation column to grid.
in
ListBase at line 182
protected Column
addJsonColumn(string $name, string $label = '')
Add a json type column to grid.
in
ListBase at line 199
protected Column
prependColumn(string $name = '', string $label = '')
Prepend column to grid.
in
ListBase at line 217
protected Column
addColumn(string $name = '', string $label = '')
Add column to grid.
in
ListBase at line 234
protected bool|Column
handleGetMutatorColumn(string $method, string $label)
Handle get mutator column for grid.
in
ListBase at line 251
protected bool|Column
handleRelationColumn(string $method, string $label)
Handle relation column for grid.
at line 25
mixed
columns()
No description