extends |
Column |
|---|
Sometime we need null values in DB. When we display values we have holes with NoValue decorator we can show a display value for column null value.
$this->addField('field', [ [...] 'ui' => [ [...], 'table' => [ 'NoValue', ' if empty display this value ' ], ], ]);
| Methods | ||
|---|---|---|
public
|
getHtmlTags(Model $row, ?Field $field): array
|
# |
| Methods used from Atk4\Core\AppScopeTrait |
|---|
assertInstanceOfApp(), issetApp(), getApp(), setApp() |
| Methods used from Atk4\Core\DiContainerTrait |
|---|
setDefaults(), setMissingProperty(), assertInstanceOf(), _fromSeedPrecheck(), fromSeed(), fromSeedUnsafe() |
| Methods used from Atk4\Core\InitializerTrait |
|---|
init(), isInitialized(), assertIsInitialized(), invokeInit() |
| Methods used from Atk4\Core\TrackableTrait |
|---|
issetOwner(), setOwner(), unsetOwner(), getDesiredName(), destroy() |
| Constants inherited from Atk4\Ui\Table\Column |
|---|
|
| Properties | |||
|---|---|---|---|
public
|
string
|
$noValue = ' --- '
|
# |
| Properties inherited from Atk4\Ui\Table\Column |
|---|
$table, $attr, $caption, $sortable, $columnData, $hasHeaderAction, $headerActionTag |
| Properties used from Atk4\Core\AppScopeTrait |
|---|
$_app, $maxNameLength, $uniqueNameHashes |
| Properties used from Atk4\Core\InitializerTrait |
|---|
$_initialized |
| Properties used from Atk4\Core\NameTrait |
|---|
$name |
| Properties used from Atk4\Core\TrackableTrait |
|---|
$_owner, $shortName |