Introduction for data object in list protocol details.
diff --git a/ListsProtocol.wiki b/ListsProtocol.wiki index 6781bdc..60af70c 100644 --- a/ListsProtocol.wiki +++ b/ListsProtocol.wiki
@@ -155,4 +155,26 @@ Row actions are allowed only if no {{{multiselect: true}}} is found in the _configuration_ object. Only *redirect_custom* method is allowed, with the same options as for _operations/buttons_. Details to define the url of each row in _data/operations/row_ details. ---- -== *data* == \ No newline at end of file +== *data* == +The _data_ object is used in the protocol to contain the actual data that should be displayed in the list and details about buttons/row click behaviour for each row (when *redirect_custom* is chosen as a method for button/row on _operations/buttons_ and/or _operations/row_). Here an example explained: + +{{{ +"data": { + "": [ + { + "columns": { + "key": "key_test7", + "link_id": "test7", + "name": "Admin Test Example", + "program_owner": "melange" + }, + "operations": { + "edit": { + "caption": "Edit a user", + "link": "http://edit", + "new_window": true + } + } + } + ] +}}} \ No newline at end of file