diff --git a/htdocs/public/test/test_arrays.php b/htdocs/public/test/test_arrays.php
index ea0791dc984..7cbd9898204 100644
--- a/htdocs/public/test/test_arrays.php
+++ b/htdocs/public/test/test_arrays.php
@@ -113,47 +113,27 @@ This page is a sample of page using tables. It is designed to make test with
-
Example 1 : Table using tags: div.tagtable+div.tagtr+div or div.tagtable+div.tagtr+div.tagtd => Use this for tables that are edited forms (drag and drop of lines does not work for this case, also height of title can't be forced to a minimum)
+ Example 1 : Standard table => Use this if you need the drag and drop for lines
+
use_javascript_ajax)) include DOL_DOCUMENT_ROOT.'/core/tpl/ajaxrow.tpl.php';
+$sortfield='aaa';
+$sortorder='ASC';
+$tasksarray=array(1,2,3); // To force having several lines
+$tagidfortablednd='tablelines3';
+if (! empty($conf->use_javascript_ajax)) include DOL_DOCUMENT_ROOT.'/core/tpl/ajaxrow.tpl.php';
?>
-
+
@@ -312,25 +292,49 @@ $('xxxth').replaceWith(
- Example 3 : Standard table => Use this if you need the drag and drop for lines
+ Example 3 : Table using tags: div.tagtable+div.tagtr+div or div.tagtable+div.tagtr+div.tagtd => Use this, but AVOID IT if possible, for tables that need to have a different form for each line (drag and drop of lines does not work for this case, also height of title can't be forced to a minimum)
+
use_javascript_ajax)) include DOL_DOCUMENT_ROOT.'/core/tpl/ajaxrow.tpl.php';
+ $tasksarray=array(1,2,3); // To force having several lines
+ $tagidfortablednd='tablelines';
+ if (! empty($conf->use_javascript_ajax)) include DOL_DOCUMENT_ROOT.'/core/tpl/ajaxrow.tpl.php';
?>
-