简体   繁体   English

在javascript中创建数据网格

[英]creating a data grid in javascript

I want to know if there is an API to create a datagrid like here: 我想知道是否有一个API可以像下面这样创建一个数据网格:

http://socghop.appspot.com/gsoc/program/accepted_orgs/google/gsoc2010 http://socghop.appspot.com/gsoc/program/accepted_orgs/google/gsoc2010

There are several: 有几种:

As well as many others... 以及许多其他...

My personal favorite is jqGrid, which is extremely flexible and can do pretty much everything you need. 我个人最喜欢的是jqGrid,它非常灵活,可以执行您需要的几乎所有操作。 On the other hand the API can be a bit overwhelming when you are first getting started. 另一方面,当您第一次入门时,API可能会有些不知所措。 You also might be interested in jqGrid-PHP which is integrated with your server-side PHP code - but it is not free. 您可能还对与服务器端PHP代码集成的jqGrid-PHP感兴趣-但它不是免费的。

From these: 从这些:

http://roberto.open-lab.com/2010/01/18/javascript-grid-editor-i-want-to-be-excel/ http://roberto.open-lab.com/2010/01/18/javascript-grid-editor-i-want-to-be-excel/

I choose http://www.datatables.net/ . 我选择http://www.datatables.net/ It is extreme flexible, up to date and has a good documentation, well tested. 它非常灵活,最新,并且具有良好的文档,经过了良好的测试。

jqGrid is not free. jqGrid不是免费的。 And Flexigrid is two years old and comes with jQuery 1.2.x. Flexigrid已有2年历史,并随附jQuery1.2.x。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM