extends |
Column |
|---|
Column to add a little icon to show on hover a text text is taken by the Row Model in $tooltipField.
$crud->addDecorator('paid_date', new Table\Column\Tooltip('note')); $crud->addDecorator('paid_date', new Table\Column\Tooltip('note', 'error red'));
| Methods | ||
|---|---|---|
protected
|
init(): void
|
# |
public
|
getDataCellHtml(Field $field = null, array $attr = []): string
|
# |
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 |
|---|
isInitialized(), assertIsInitialized(), invokeInit() |
| Methods used from Atk4\Core\TrackableTrait |
|---|
issetOwner(), setOwner(), unsetOwner(), getDesiredName(), destroy() |
| Constants inherited from Atk4\Ui\Table\Column |
|---|
|
| Properties | |||
|---|---|---|---|
public
|
string
|
$icon
|
# |
public
|
string
|
$tooltipField
|
# |
| 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 |