Table of Contents

Toolbar

Live demo

Renders a toolbar.

Node name : toolbar

Attributes

Attribute Type Required Default value Description
save bool false true on a main view model if creation (without adding UI view) or update is allowed, false otherwise Display the save button.
add bool false false if Creation allowed is false (constant value) or on a mono record main model, true otherwise Display the add button.
remove bool false false if Deletion allowed is false (constant value), true otherwise Display the remove button.
refresh bool false true on a main view model, false otherwise Display the refresh button.
clone bool false false Display the clone button.
close bool false false Display the close button.
export bool false false Display the server data export button.
custom-views bool false true Display the button for choosing a customized view.
actions bool false true Display the custom actions defined in the UI view.
size string (extrasmall, small, medium, large, extralarge) false medium Size that will override the actions size.
animated bool false true Value indicating whether the buttons are animated.

Example

<toolbar save="true" add="true" clone="true" remove="true" export="true" refresh="true" close="true" actions="false" custom-views="false" size="small" layout:width="auto" />

Remarks

The behavior of the "server data export button" depends on whether the
NeosDataExchange module is installed or not:

  • by default it will simply download data matching the configuration of the current view (columns, filters, sorting, etc.)
  • or provide an interactive dialog with more options if the NeosDataExchange module is installed.

See also

The standard list layout using the toolbar is available here.