Column dropdown values are not dynamically updating in edit mode.
- 主要语言
- TypeScript
- 星标
- 1.6k
- 派生
- 867
- PR 合并指标
- 30 天内没有已合并 PR
描述
Hi,
I am trying to bind dynamic values to the dropdown in edit mode but it is not updating.
My settings column is this:
columns: {
allowedValue: {
title: 'Value',
filter: true,
editor: {
type: 'list',
config: {
selectText: 'Select',
list:[]
}
}
}
}
My code for edit mode is this :
arrayValue=[];
onEdit(event){
this.arrayValue=event.data.allowedValue.split(',');
this.arrayValue.forEach(element => {
const listValue={
'value':element,
'title':element
}
this.settings.columns.allowedValue.editor.config.list.push(listValue);
});
}
贡献指南
这个仓库没有索引到贡献指南
评估
这个 Issue 还没有评估数据。