style="width: 214px;"
data-options="
required:true,
panelWidth:400,
panelHeight:350,
fitColumns:true,
idField:'type',
textField:'desc',
pagination : true,
pageSize : 10,
pageList : [ 10, 20, 30, 40, 50 ],
editable:false,
multiple: true,
url:'${pageContext.request.contextPath}/typeController/dataGrid',
toolbar : '#toolbar2',
columns:[[
{field:'ck', checkbox:true },
{field:'type', title:'类型',width:200},
{field:'desc', title:'说明',width:200}
]],
onLoadSuccess:showTransType,
onSelect:function(val1,val2){
$('#type').val(val2.type);
}
">
选中后在input文本框里只显示选中的最后一个值