In order to add the toolbar button, select the checkbox Show toolbar action button. Enter button text or define the image Url.
Value <%VirtoCheckedItemsArray%> will be replaced with mass that contains keys and values of selected items.
In order to return the default code, use the Reset button.
Click Save when you have entered your code. Or use Cancel to cancel the operation and close enter script editor window.
To allow the selection of items, use the checkbox Enable multiple selections
Every item will have a button that will make this item checked after clicking it (or unchecked, in case of a second click)
The text of the button has to be entered in the Action field. Tooltips can be entered in the Description field. A tooltip will be displayed when pointing the mouse on the button.
The quantity of selected items is shown on the toolbar.
In order to cancel the selection of items, use the button (red cross icon) opposite the Selected: field.