以下是多选下拉列配置列配置示例代码:
{
id: 'role', name: 'role', field: 'role', sortable: true,
filterable: true, width: 60,
editor: {
model: Editors.multipleSelect,
enableRenderHtml: true,
collection: ['a', 'b', 'c', 'd'],
collectionSortBy: {
property: 'label'
},
editorOptions: {
selectAllText: 'ALL',
allSelected: 'ALL',
okButton: false
} as MultipleSelectOption
}
},
选择所有下拉元素而不是所有单个元素后,如何在 UI 上显示全部。