Links

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
<object-table ...>
<column heading="Name">
<header-action icon="fa-angle-right" on-press="$:headerAction()" />
</column>
</object-table>

Standard Attributes

on-press

validate

Advanced Attributes

icon

Last modified 5mo ago