KnockoutJS:SimpleGrid组件 [英] KnockoutJS: The SimpleGrid component

查看:213
本文介绍了KnockoutJS:SimpleGrid组件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在考虑构建高级网格组件(具有列重排序,隐藏/显示列,排序,高级过滤(基于每列)等功能)。我想和KnockoutJS一起去做数据到UI的绑定(除非有人认为这是一个坏主意?)



现在,我知道有<一个href =http://knockoutjs.com/examples/resources/knockout.simpleGrid.js =noreferrer>这个基本的网格示例,我还发现这个扩展名,但是更多的可以用这个东西来完成。所以我想知道你是否听说过已经在这样一个网格上工作的人? (所以我可以贡献,而不是重新发明轮子。)

解决方案

Punchout Grid(https://github.com) / EntitySpaces / Punchout#readme)可以做你想要的它是完全HTML真正的Knockout控制,包括服务器端和客户端分页,排序等。 Punchout网格示例文件夹中有六个示例表。



另一种可能性是 KoGrid ,Knockout DataGrid。请参阅
http://www.entityspaces.net/entityspaces.js /Examples/EntitySpaces/KoGridExample.htm


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.)

解决方案

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 .

这篇关于KnockoutJS:SimpleGrid组件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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