Add description for hide_headers feature option in the lists.
diff --git a/ListsProtocol.wiki b/ListsProtocol.wiki
index 774d65e..4f79e1e 100644
--- a/ListsProtocol.wiki
+++ b/ListsProtocol.wiki
@@ -38,6 +38,9 @@
"column": <jQuery_selector>,
"asc_desc": <jQuery_selector>
}
+ },
+ "hide_headers": {
+ "enabled": <boolean>
}
},
"templates": {
@@ -139,6 +142,7 @@
* *csv_export*: is an (optional) *object* which can contain only one key, *enabled*, which is a boolean. By default is enabled, so if the object is not present the button to export to CSV will be enabled, to be back-compatible with current lists. If it's enabled, a button at the top right of the lists will appear that opens a dialog box with a CSV export of the list.
* *global_search*: is an (optional) *object* which can contain two keys, *enabled*, which is a boolean, and *element_path*, which is a jQuery selector that should select an input text which should be present in the page. By default is *not* enabled to be back-compatible with current lists. If it's enabled, an event of type "keyup" will be bound to the input text element to look into all the columns in the list ("OR" search) for its value. *HINT:*: if you specify the same *element_path* for more than one list in a single page, all lists with the same element selector will be filtered by the same value.
* *global_sort*: is an (optional) *object* which can contain two keys, *enabled*, which is a boolean, and *element_paths*, which is an object which can contain one or two key-value pairs. Both values need to be jQuery selectors that point to unique HTML select tags already present in the page. The selector for the key *column* should point to the select which needs to be populated with a list of the columns present in the list. The selector for the key *asc_desc* should point to the select which needs to be populated with the options "Ascending" and "Descending". There is no need to specify both keys. By default is *not* enabled to be back-compatible with current lists. If it's enabled, an event of type "change" will be bound to the select(s) to reorder the list accordingly.
+ * *hide_headers*: is an (optional) *object* which can contain only one key, *enabled*, which is a boolean. By default is enabled, so if the object is not present the lists will show the toolbar (in which the global buttons are attached) and the column headers, to be back-compatible with current lists. If it's disabled, those headers will be hidden.
----
== *templates* ==