jQuery网格中的多选和单选 [英] multi select and single select in jquery grid

查看:92
本文介绍了jQuery网格中的多选和单选的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在MVC应用程序中使用jquery网格

在我的jquery网格中,第一列是复选框列

如果我按Control键,然后单击一行,它应该会被选中

如果单击检查框"选择器,则应该被选中.

现在我正在使用

Hi I am using jquery grid in MVC Application

In my jquery grid first column is checkbox column

if I press Control key and then single click on a row it should get selected
or
If I click on the CHECK BOX selector then should get selected.

Now i am using

multiselect: true,
multikey: "ctrlKey",



对于多选,但我无法选中复选框列,如何在选中复选框时如何选择行



for multiselect but i can''t check the check box column how to get the row selected when check the checkbox

推荐答案

您必须编写自己的代码才能选中所有复选框.
You have to write your own code in order for selecting all the check boxes.


这篇关于jQuery网格中的多选和单选的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆