Toolbar¶
Add Button¶
Adds a button, which, on click, executes your custom Javascript function, passed in as 1st parameter.
Example¶
1 2 3 4 5 |
|
Parameters¶
-
callback
(Callable function)
the function which will be executed on click -
icon
(string)
Name of the icon without prefix, see Icons -
text
(string)
Button text -
variation
See Variation -
prompt
(string, optional, addLink only)
Message text for confirmation prompt -
target
(string, optional, addLink only)
Browser tab target, for example "_self" (default), "_blank" (new tab) or any other_string -
fn
(function, optional)
Callback function for more detailed customization per row. See "Callback Example" at the bottom of this page.
See also¶
- Add link with extra configuration
- Add button with extra configuration