Class Atk4\Ui\Table\Column\Tooltip

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'));

The must correspond to the name of the field, although you can also use multiple tags. The tag will also be formatted before inserting, see UI Persistence formatting in the documentation.

This method will be executed only once per table rendering, if you need to format data manually, you should use $this->table->onHook('beforeRow' or 'afterRow', ...);

Overrides

Methods
Methods inherited from Atk4\Ui\Table\Column
__construct(), addPopup(), setHeaderPopup(), setHeaderPopupIcon(), addDropdown(), setHeaderDropdown(), addClass(), setAttr(), getTagAttributes(), getTag(), getHeaderCellHtml(), getTotalsCellHtml(), getDataCellTemplate(), getOwner()
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
HOOK_GET_HTML_TAGS, HOOK_GET_HEADER_CELL_HTML
Properties
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