YUI 数据表列过滤器

发布于 2024-08-05 22:09:54 字数 584 浏览 3 评论 0 原文

有谁知道 YUI 数据表的任何插件/扩展将允许类似于共享点网格工作方式的列排序。

我正在寻找可以从共享点工作/看起来有点像这样的东西(单击列标题,然后会出现一个下拉列表,其中包含根据该列中的数据过滤数据表的选项): Sharepoint网格列过滤器http://drop.io/download/public/eoq8cfcggp0bkw8wejlk/fb8b74641fc499f205222c7bc128644fef046a80/16a2e690-486e-012b-de36-00127994f632/08a51310-85e6 -012c-5ac8-fc75480d82c3/v2/thumbnail_large

任何人有什么想法吗?

谢谢。

Does anyone know of any plugins/extentions to the YUI Datatable that will allow column sorting similar to how a sharepoint grid works.

I'm looking for something that works/looks a bit like this from sharepoint (click on the clumn header, and a drop down appears with options to filter the datatable based on the data in that column):
Sharepoint grid column filter http://drop.io/download/public/eoq8cfcggp0bkw8wejlk/fb8b74641fc499f205222c7bc128644fef046a80/16a2e690-486e-012b-de36-00127994f632/08a51310-85e6-012c-5ac8-fc75480d82c3/v2/thumbnail_large

Anyone have any ideas?

Thanks.

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

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

发布评论

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

评论(2

り繁华旳梦境 2024-08-12 22:09:54

我不相信目前存在这样的事情。开箱即用地支持升序/降序排序,但我假设您知道这一点。

可以进行过滤(有示例此处此处),但不是您想要的 UI。您可能应该告诉您的老板,为满足他的突发奇想而编写此功能所涉及的成本可能不值得,并且您应该找到另一个更容易实现的 UI 范例。

也就是说,如果您确实决定对 DataTable 进行子类化以执行类似的操作,请提交您的更改返回到 YUI,以便每个人都能从中受益

I do not believe that anything like this currently exists. Ascending/Descending sort is supported out of the box, but I assume you know that.

Filtering can be done (there are examples here and here), but not with the UI you want. You should probably tell your boss that the cost involved in your writing this feature to satisfy his whim is probably not worth the benefit, and you should find another UI paradigm that's easier to implement.

That said, if you do decide to subclass the DataTable to do something like this, please do submit your changes back to YUI so that everyone can benefit from them

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