header-action
Overview
An action
can be linked to a header cell, which will be triggered when a user clicks on the cell. In this case, the specified on-press
function will execute.
Note: Unlike row and cell actions, this function does not have access to $selection
, as they are only rendered once per column.
See more information in the guide on object-table
actions.
Basic Example
main.view.xml
Standard Attributes
on-press
on-press
See column
> action
> on-press
validate
validate
See column
> action
> validate
Advanced Attributes
icon
icon
Last updated