Changes for page Livetable Macro
Last modified by Manuel Leduc on 2024/01/04 15:56
<
>
edited by Marius Dumitru Florea
on 2020/01/23 16:06
on 2020/01/23 16:06
edited by Marius Dumitru Florea
on 2020/01/23 16:10
on 2020/01/23 16:10
Change comment:
There is no comment for this version
Summary
-
Objects (1 modified, 0 added, 0 removed)
Details
- ExtensionCode.ExtensionClass[0]
-
- Description
-
... ... @@ -134,19 +134,21 @@ 134 134 * ##_actions## options:((( 135 135 |=Name|=Descriptions|=Default value|=Since 136 136 |actions|The list of actions to display on this column. An action can be specified as a string (the action name) or as a map with more advanced action properties. The following list of actions are supported by the default live table results page: view, edit, copy, rename, delete, rights. The action URL for each row is specified by the ##doc_//actionName//_url## field in the live table JSON. E.g.:((( 137 -'_actions': { 138 - 'actions': [ 139 - 'delete', 140 - { 141 - 'id': 'custom', 142 - 'label': 'Custom', 143 - 'icon': 'eye', 144 - 'async': true, 145 - 'callback': 'callSomeJavaScriptFunction()' 146 - } 147 - ] 148 -} 149 -)))|-| 137 +{{code language="js"}} 138 +'actions': [ 139 + 'edit', 'delete', 140 + { 141 + 'id': 'custom', 142 + 'label': 'Custom', 143 + 'icon': 'eye', 144 + 'async': true, 145 + 'callback': 'callSomeJavaScriptFunction()' 146 + }, { 147 + ... 148 + } 149 +] 150 +{{/code}} 151 +)))|[]| 150 150 ))) 151 151 152 152 == Examples ==