fix list expanded dd

This commit is contained in:
Yuri Kuznetsov
2021-12-24 11:29:23 +02:00
parent 31a2ef63ec
commit e161b0da19
+3 -1
View File
@@ -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) {