This commit is contained in:
thinkgem
2024-08-15 19:59:47 +08:00
parent 444463ed5e
commit 25a192cd6a
2 changed files with 2 additions and 0 deletions

View File

@@ -245,6 +245,7 @@ $('#testDataChildDataGrid').dataGrid({
},
editable:true, edittype:'select', editoptions:{'class':'form-control',
items: $.merge([{dictLabel:' ',dictValue:''}], "#{@DictUtils.getDictListJson('sys_menu_type')}"),
// items: $.merge([{dictLabel:' ',dictValue:''}], "#{toJson(testSelectItems![])}"),
itemLabel: 'dictLabel', itemValue: 'dictValue', dataInit: function(element){
js.select2(element).on("change",function(){$(this).resetValid()});
}