easyui multiple combogrid被取消选中的行还是会显示出来

    被取消选中的行还是会显示出来?以下是我的代码
        <select class="easyui-combogrid" style="width:250px" data-options="
        panelWidth: 500,
        multiple: true,
        idField: 'ProblemId',
        textField: 'Title',
        url: 'datagrid_data1.json',
        method: 'get',
        columns: [[
            {field:'ck',checkbox:true},
            {field:'ProblemId',title:'id',width:80},
            {field:'Title',title:'标题',width:120}

        ]],
        fitColumns: true
    " id="cg">
        </select>
         <input class="easyui-textbox" colfield="ProblemIDstr" name="ProblemIDs_name"  id="ProblemIDs" value="" editable="false"
               style="width: 310px"/>
               <Script>
              $('#cg').combogrid({
    onSelect: function (index,row) {              //选中处理

       var val = $('#cg').combogrid('getValues').join(',');
        $("#ProblemIDs").textbox("setValue", val);
    }
});</script>
阅读 3k
撰写回答
你尚未登录,登录后可以
  • 和开发者交流问题的细节
  • 关注并接收问题和回答的更新提醒
  • 参与内容的编辑和改进,让解决方法与时俱进