columns: [{
checkbox: true
}, {
field: 'deptId',
title: '部门code'
}]
我想将这一栏设置为下拉框,要怎么做
columns: [{
checkbox: true
}, {
field: 'deptId',
title: '部门code'
}]
我想将这一栏设置为下拉框,要怎么做
<th data-field="deptId" data-formatter="deptIdFormatter" />
function deptIdFormatter(index, row) {
return '<select><option value="">-请选择-</option></select>';
}