메소드 |
설명 |
|
__call ( string $method, array $arguments ) |
|
|
__construct ( $name, $label ) |
|
|
badge ( string $style = 'red' ) |
Wrap value with badge. |
|
button ( string $style = 'default' ) |
Wrap value as a button. |
|
getLabel ( ) : mixed |
Get label of the column. |
|
getName ( ) : mixed |
Get name of this column. |
|
image ( integer $width = 200, integer $height = 200 ) |
Wrap value as a image. |
|
label ( string $style = 'success' ) |
Wrap value with label. |
|
link ( $href = '', string $target = '_blank' ) |
Wrap value as a link. |
|
map ( $data ) |
|
|
progressBar ( string $style = 'primary', string $size = 'sm', integer $max = 100 ) |
Wrap value as a progressbar. |
|
setRelation ( $relation ) |
Set relation. |
|
sortable ( ) : Column |
Mark this column as sortable. |
|
sorter ( ) : string | void |
Create the column sorter. |
|
value ( Closure $callable ) |
Add a value wrapper. |
|