KnockoutJS:SimpleGrid 组件
我正在考虑构建一个高级网格组件(具有列重新排序、隐藏/显示列、排序、高级过滤(基于每列)等功能)。我想使用 KnockoutJS 进行数据到 UI 的绑定(除非有人出于某种原因认为这是一个坏主意?)。
现在,我知道有这个基本网格示例,而且我还发现它的这个扩展,但这个东西可以做更多的事情。所以我想知道您是否听说过有人已经在研究这样的网格? (这样我就可以做出贡献,而不是重新发明轮子。)
I was thinking about building an advanced grid component (with features like reordering of columns, hide/show of columns, sorting, advanced filtering (on a per-column basis), etc). I would like to go with KnockoutJS for data-to-UI bindings (unless someone thinks it's a bad idea for some reason?).
Now, I know that there's this basic grid example and I also found this extension of it, but more can be done with this thing. So I'm wondering if you've heard of anyone already working on such a grid? (So that I can contribute instead of re-inventing the wheel.)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
Punchout Grid (https://github.com/EntitySpaces/Punchout#readme) 可以做你想做的事。它是“一个完全 HTML 的真正的 Knockout 控件,具有服务器端和客户端分页、排序等功能。” Punchout 网格示例文件夹中有六个示例表。
另一种可能性是 KoGrid,“Knockout DataGrid”。请参阅以下网址的实际操作:
http://www.entityspaces.net/entityspaces.js/Examples/EntitySpaces/KoGridExample.htm< /a> .
Punchout Grid (https://github.com/EntitySpaces/Punchout#readme) may do what you want. It is "a fully HTML true Knockout control with both server side and client side paging, sorting, and more." There are six example tables in the Punchout Grid examples folder.
Another possibility is KoGrid, "a Knockout DataGrid". See it in action at
http://www.entityspaces.net/entityspaces.js/Examples/EntitySpaces/KoGridExample.htm .