jqGrid 基本列选择器
jqGrid 有一个列选择器功能,如下所述:
http://www.trirand.com/jqgridwiki/doku.php?id=wiki:jquery_ui_methods
以及 @Oleg 的演示:
http ://www.ok-soft-gmbh.com/jqGrid/SimpleLocalGridWithColumnChooser.htm
但是它对于我的需求来说太复杂了。有没有像FlexGrid的显示隐藏列选择功能一样简单的方法:
您可以检查示例 1. 通过单击列可以显示和隐藏列。我不想做同样的事情,但只需单击列或列附近的某处并仅选择要显示或隐藏的列就太好了。
有什么想法吗?
PS:我想要一个基本的显示隐藏列字段,而不是一个打开的复杂屏幕,人们可以在其中选择许多选项。它应该像 Flexigirid 一样建立在桌子上。用户单击复选框仅此而已。
jqGrid has a column chooser functionality as like described here:
http://www.trirand.com/jqgridwiki/doku.php?id=wiki:jquery_ui_methods
and a demonstration from @Oleg:
http://www.ok-soft-gmbh.com/jqGrid/SimpleLocalGridWithColumnChooser.htm
However its too complex for my needs. Is there any simple way as like FlexGrid's show-hide columns choosing functionality:
You can check Example 1. Columns can be shown and hide by clicking columns. I don't want to same thing but it would be great just clicking somewhere at or near columns and choosing just columns to show or hide.
Any ideas?
PS: I want a basic show-hide column field not a complex screen that opens and people selects many options on them. It should be build on table as like Flexigirid. users click checkboxes and thats all.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
抱歉,您无法在一种软件产品中拥有与在另一种软件产品中相同的外观。
你可以配置flexigrid使其看起来像jqGrid吗?你能认为 iPhone 看起来像 Windows Phone 或 Mac OS X 看起来像 Windows 吗?每个软件产品都有自己的设计和功能集。
columnCooser
基于多选小部件,允许您显示或隐藏任何列或通过拖动和重新排序列。降低。 flexigrid 有另一种功能的实现。如果您想使用一些免费开源产品,您应该了解提供该产品的功能和可能性,并直接使用该产品。
Sorry, but you can't have the same look in one software product like you know in another one.
Do you can configure flexigrid so that it looks like jqGrid? Do you can that iPhone looks like Windows Phone or Mac OS X looks like Windows? Every software product has its own design and the set of features.
The
columnCooser
are based on the multiselect widget and allows you to show or hide any columns or reorder columns with respect of drag & drop. flexigrid has another implementation of the features.If you want to use some free open soure product you should understand the features and the possibilities which provide the product and just use there.