用于动态HTML表格生成的Javascript库 [英] Javascript Library for Dynamic HTML Table Generation

查看:79
本文介绍了用于动态HTML表格生成的Javascript库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直在寻找一个好的JavaScript库来动态创建html表格。有相当多的JavaScript工具可以击败和功能化现有的表格,这只是我之后的一部分。



我正在寻找的是一个库,我可以使用它创建漂亮的表格,而不必先手动生成表格,然后使用美化工具。很像创建图的存在; HighCharts Flotr2 等。



是否存在这样的库让我只需传递一个JSON对象或调用一系列函数来生成一个不错的你可以在这里找到可以排序的函数式HTML表格吗?

解决方案

您正在寻找的是DataTables.js。
$ b

转到此链接并开始使用。享受。



http://datatables.net/


I have been looking around for a nice javascript library to dynamically create html tables. There are quite a few javascript-tools out there to "beatuify" and "functionalise" an existing table, this is only partly what I am after.

What I am looking for is a library that I can use to create nice looking tables, without having to first "manually" generate the table and then use the beautification tool. Much like the ones that exists for creating graphs; HighCharts, Flotr2 etc.

Does there exist such a library to allow me to simply pass a JSON-object or call a series of functions to generate a nice looking, sortable, functional HTML-table?

解决方案

What you are looking for is DataTables.js.

Goto this link and get started. Enjoy.

http://datatables.net/

这篇关于用于动态HTML表格生成的Javascript库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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