From debb85fc72db31ac240d42e4f1341eaecd5df4ee Mon Sep 17 00:00:00 2001 From: chapcz Date: Sun, 23 Apr 2017 13:26:19 +0200 Subject: [PATCH] fix of ajax response (#520); Closes #519 --- src/templates/datagrid.latte | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/templates/datagrid.latte b/src/templates/datagrid.latte index 5201e09c..804ca0e3 100644 --- a/src/templates/datagrid.latte +++ b/src/templates/datagrid.latte @@ -230,7 +230,8 @@ - isSortable()}data-sortable data-sortable-url="{plink $control->getSortableHandler()}" data-sortable-parent-path="{$control->getSortableParentPath()}"{/}> + {block tbody} + isSortable()}data-sortable data-sortable-url="{plink $control->getSortableHandler()}" data-sortable-parent-path="{$control->getSortableParentPath()}"{/}> {snippetArea items} {if $inlineAdd && $inlineAdd->isPositionTop()} {include inlineAddRow, columns => $columns} @@ -372,6 +373,7 @@ {/block} {/snippetArea} + {/block} {block tfoot} {if $control->isPaginated() || $filter_active}