From e510cab9cd85e9824c6e80ec280b69df5dd7cae6 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Mon, 27 Nov 2017 18:14:29 +0100 Subject: JQueryJqGrid replacement by DataTables --- .../templates/ishtar/blocks/window_tables/dynamic_documents.html | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'ishtar_common/templates/ishtar/blocks/window_tables/dynamic_documents.html') diff --git a/ishtar_common/templates/ishtar/blocks/window_tables/dynamic_documents.html b/ishtar_common/templates/ishtar/blocks/window_tables/dynamic_documents.html index 891cd0f6f..4846d6e4f 100644 --- a/ishtar_common/templates/ishtar/blocks/window_tables/dynamic_documents.html +++ b/ishtar_common/templates/ishtar/blocks/window_tables/dynamic_documents.html @@ -17,7 +17,9 @@ setTimeout( function(){ - $("#grid_{{name}}").jqGrid({ + $("#grid_{{name}}").DataTable(); + {% comment %} + { url:'{{source|safe}}', datatype: "json", mtype: 'GET', @@ -42,6 +44,7 @@ setTimeout( } }); {% if large %}jQuery("#grid_{{name}}").jqGrid('setGridHeight', 272);{% endif %} + {% endcomment %} }, 200); -- cgit v1.2.3