Comment on page
action
An
action
can be linked to a cell on a column
level, which will be triggered when a user clicks on the cell. In this case, the specified on-press
function will execute.main.view.xml
<object-table>
<column>
<!-- `icon` is displayed on the right-hand-side of the cell -->
<action on-press="processAction($selection)" icon="ion-chevron-right" />
</column>
</object-table>
Optional
Type:
boolean
Default:
false
Set to
true
to ensure that no required input fields in the current view are empty before performing the on-press
action.<action on-press="processAction($selection)" validate="true" />
Optional
Type:
string
Default: unset
<action icon="fa-user" on-press="processAction($selection)" />
Last modified 1yr ago