From e161b0da19ec71455ee66e29ca8ca4874c496abb Mon Sep 17 00:00:00 2001 From: Yuri Kuznetsov Date: Fri, 24 Dec 2021 11:29:23 +0200 Subject: [PATCH] fix list expanded dd --- client/src/views/record/list-expanded.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/client/src/views/record/list-expanded.js b/client/src/views/record/list-expanded.js index 88da5cee2b..d89c36c6fa 100644 --- a/client/src/views/record/list-expanded.js +++ b/client/src/views/record/list-expanded.js @@ -161,7 +161,9 @@ define('views/record/list-expanded', 'views/record/list', function (Dep) { }, getItemEl: function (model, item) { - return this.options.el + ' li[data-id="' + model.id + '"] .cell[data-name="' + item.field + '"]'; + let name = item.field || item.columnName; + + return this.options.el + ' li[data-id="' + model.id + '"] .cell[data-name="' + name+ '"]'; }, getRowContainerHtml: function (id) {