扩展和维护 CoqSoft 的 TreeGrid 小部件
有人有使用 CoqSoft API 扩展 TreeGrid 功能的经验吗?我正在寻找一个好的 JavaScript 数据网格框架来实现自定义排序、过滤、分组和 Excel 数据透视表等功能。 TreeGrid 似乎提供了很多这样的功能,但不确定维护代码有多容易。谢谢。
Anyone has experience extending the functionality of TreeGrid from CoqSoft using their APIs? I am looking for a good datagrid framework in Javascript to implement custom sorting, filtering, grouping and Excel pivot table like functionality. The TreeGrid seems to offer lot of these features, but not sure how easy it is to maintain the code. Thanks.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
TreeGrid 很容易通过重载 API 事件来扩展。
使用 xml 配置文件、重载默认值、操作、事件来配置网格以满足您的需求也非常容易......尽管需要一些时间来适应此 xml 的特殊格式,因为它们使用 xml 属性来指定网格上列的属性,以及完成某些操作的方式(计算、可编辑性......)
它提供了无尽的配置选项和大量的功能,定期更新,并且支持(如果您支付此类许可证)非常好。
至于维护代码有多容易,如果你使用他们提供的 API 进行编程(我认为有不同的许可证会公开不同数量的 API,所以要小心),这很简单,因为大多数细节都是对你隐藏了。如果您计划购买包含源代码的许可证(这是可能的),则更改的可维护性取决于您和您的编码实践:)
(注意:我不隶属于 CoqSoft 或任何其他公司,我只是碰巧工作及其组件)
TreeGrid is pretty easy to extend by overloading their API events.
It is also pretty easy to configure a grid to suit your needs using xml configuration files, overloading defaults, actions, events...although it takes some time getting used to the special format of this xml, since they use xml attributes to specify the properties of the columns on a grid, and the way some things are done (calculations, editability...)
It offers endless configuration options and a ton of functionality, it is updated regularly and the support (if you pay for such license) is quite good.
As for how easy it is to maintain the code, if you program using the API they provide (I think there are different licenses that expose different amounts of the API, so be careful there), it is straightforward, since most of the details are hidden to you. If you are planning on buying a license including the source code (which is possible) the maintainability of the changes is up to you and your coding practices :)
(Note: I'm not affiliated to CoqSoft or anything, I just happen to work with their component)