Jqgrid 选择多行

发布于 2024-10-02 23:59:15 字数 180 浏览 0 评论 0原文

我的第一个问题是这样! :) 提前致谢!

我在使用 jqgrid 多项选择功能时遇到问题。 我只能定义一个多选键,并且在该键之上,shift 一次不会选择超过 1 行到集合中。

有关不同网格插件或此功能的解决方法的任何线索吗?

另外,jqgrid 是否有一个选项可以在多选处于活动状态时隐藏复选框?

My first question on SO! :) Thanks in advanced!

I'm having a problem with jqgrid multiple selection functionality.
I can only define a single multiple selection key and above that shift doesnt select more than 1 row into the collection at a time.

Any clue on a different grid plugin or a work around for this functionality?

Also, Does jqgrid have an option to hide the check boxes when multiselect is active?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

风向决定发型 2024-10-09 23:59:15

欢迎来到 stackoverflow.com!

您可以在此处找到一些示例,这些示例实时展示了如何jqGrid 的不同设置具有 multiselect:true 有效。所有选项均已记录

您可以在此处查看另一个代码,该代码实现了另一种 musliselect 行为作为标准。说实话,我没有测试该解决方案。要隐藏复选框,您可以使用 $("#list").jqGrid('hideCol','cb'); 因为所有复选框都放置在名称为“cb”的列。

jqGrid大多与分页功能一起使用,因此不会一次显示很多行,选择很多行也不是真正的问题。尽管如此,我同意 jqGrid 中的键盘支持不够好。所有其他重要的功能都在另一侧如此丰富,以至于我没有看到我可以推荐给您的替代插件。最好获得 jqGrid 并自己编写所有您需要的内容。 jqGrid有足够的可扩展性。

Welcome on the stackoverflow.com!

You can find here some examples which shows live how different settings of jqGrid having multiselect:true works. All the option are documented.

You can look at here another code which implement another musliselect behavior as standard. To tell the truth I don't tested the solution.To hide checkboxes you can use $("#list").jqGrid('hideCol','cb'); because all checkboxes are placed in the column with the name 'cb'.

Mostly jqGrid are used together with the paging feature, so not many rows will be displayed at once and it is not a real problem to select many rows. Nevertheless I agree that the keybord support is not good enough in jqGrid. All other important functionality are on the other side so rich, that I don't see alternative plugin which I could recommend you. It is better to get jqGrid and write all what you need additionally yourself. jqGrid has enough possibilities for extensibility.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文