最近找到一个好用的PHP datagrid,其实主要是自己懒写.EyeDataGrid,能够很好,很灵活地生成一个表格,功能不用太花销.不用自己写html就好.
简单介绍一下EyeDataGrid:
1.不用写html,直接PHP生成,甚至连SQL都不用写
2.具有很强的自定义功能,开发起来十分灵活.
3.代码小巧,架构清晰,容易应用到现有项目
功能方面翻译:
1.过滤和搜索功能
2.能够更改列标题
3.能够显示图像
4.Ajax的支持
5.自动分页功能
6.行选择
7.支持MySQL数据库
8.隐藏列
9.排序列
10.可定制的外观CSS
11.能够处理大数据集
12.能够添加控件
13.复选框支持
14.指定列(如百分之美元等格式类型)
15.浏览器兼容,通过测试Firefox 2/3,IE 6/7,Chrome,Safari 3和Opera 9
16.PHP 5中唯一

项目官方网站:http://www.eyesis.ca/projects/datagrid.html
官方介绍:
The Eyesis Data Grid Control is all you need when it comes to displaying data from a MySQL database in tabular format. No flashy dynamic updating or complex Javascript, and no countless ambiguous classes cluttering up your project. This class is simple, small, feature packed, and easy to implement with only six lines of code, don’t believe me? Check out the examples below!
There are plenty of PHP data grid controls out there, but none that could satisfy me. I use data grids on almost every web site I develop. They come in great for displaying all kinds of data. I developed this data grid to suit all my needs and more.
A few of the features include:
- Filtering and searching capabilities
- Ability to change column headers
- Capable of displaying images
- Ajax supported
- Automatic row paging
- Row selection
- Supports MySQL database
- Hide columns
- Sort columns
- Customizable look and feel through CSS
- Can handle large data sets
- Ability to add controls
- Checkbox support
- Specify column format types (such as percent, dollars, etc)
- Tested working in Firefox 2 and 3, IE 6 and 7, Chrome, Safari 3, and Opera 9
- PHP 5 only
- Much more!
Demos
Example 1 – Basic DataGrid [View] [Source] Example 1.5 – Basic DataGrid WITH AJAX [View] [Source] Example 2 – Filters, Headers, Column Types [View] [Source] Example 3 – More Features [View] [Source] Example 4 – Row Selection [View] [Source] Example 5 – Full Featured Ajax Demo [View] [Source]
Download
eyedatagrid-1.1.zip 93kb, v1.1.6, Released: 03-Dec-08
当前没有评论!
第一个在本文留言。