【发布时间】:2020-05-19 18:26:58
【问题描述】:
我有一列需要在编辑时成为下拉列表。
当我按下编辑时,我得到完整的下拉列表,但没有选择值
这是我的代码:
CompanyName: {
title: 'CompanyName,
type: 'html',
valuePrepareFunction: (cell, row) => {
return row.CompanyName
},
editor: {
type: 'list',
config: {
list: this.companies // this.companies = [{value: 1, title: "TestCompany"]
}
}
},
【问题讨论】:
-
如果有不清楚的地方请询问,我会提供更多信息