combogrid获取多选值
怎样获取combogrid的多选值
$('#linePipeId').combogrid({
editable:true,
panelWidth:320,
value:'',
idField:'id',
textField:'lpname',
fitColumns: true,
multiple:true,
rownumbers:true,
method:'post',
url:'<@s.url namespace="/app/szgw/pipenet" action="LinePipe!pipeList.page" includeParams="none"/>',
columns:[[
{field:'ck',checkbox:true,resize:false},
{field:'lpCode',title:'管线代码',width:100},
{field:'lpname',title:'管线名称',width:100}
]]
});
这个combogrid是多选的,选定后,比如有一个
<input type="button" name="dtcshow" id="dtcshow" value="展现"/>
我想在 $('#dtcshow').click(function() {
//在这获取上面combogrid的多选值,该怎么获取
});
谢谢,急用啊!!
------解决方案--------------------我来拿分了~~~~
------解决方案--------------------
来那分了,谢谢楼主
------解决方案--------------------combogrid('getValues');