[导入]表格拖动, 排序, 固定表头3合一的纯 JS 表格组件

今天看到了这位朋友的文章: 表格拖动(改进加原创) , 写的很不错, 试了一下无法在 FireFox 下运行, 想起来已经是 Google 雇员的 Emil A Eklund 好像已经写过了一个使用非常简单的类似组件, 兼容 IE 和 FireFox, 找到了它, 给大家推荐一下:

http://webfx.eae.net/dhtml/collist/columnlist.html

在线演示:

Demo

这些英文写的很浅显, 随便看看用起来就 OK 了.

还看到同志们关于 Firefox 中没有定义 event 对象讨论的热火朝天, 但是 Emil 兄弟早就做了一些这方面的工作, 我需要的就是拿来用, 请浏览:

http://webfx.eae.net/dhtml/ieemu/ FF 下的 IE API 模拟.

 

 

Introduction

When it comes to DHTML Mozilla might be less powerful than IE4 but when it comes to JavaScript it just kicks ass. The first time a saw a setter being used with a prototype of the built-in HTMLElement constructor I was just blown away. One of my first thought at that time was that this was exactly what I needed to start emulating the IE DHTML Object Model for Mozilla.

The goal of this article is to emulate a lot of IE behaviors to work in Mozilla, both to make old IE specific scripts work in Mozilla but also to make it easier to create new scripts that work in both IE5 and Mozilla. The article is actually going to be a series of smaller articles, each one concentrating on a small part of the emulation.



BeanSoft 2007-02-03 17:47 发表评论

文章来源:http://www.blogjava.net/beansoft/archive/2007/02/03/97766.html

posted on 2007-08-17 16:29 陈贵波 阅读(1522) 评论(2)  编辑  收藏

评论

# re: [导入]表格拖动, 排序, 固定表头3合一的纯 JS 表格组件 2011-02-24 17:20 weiweiok

可惜不支持chrome等webkit核心浏览器。。要不然还是挺完美的。。  回复  更多评论   

# re: [导入]表格拖动, 排序, 固定表头3合一的纯 JS 表格组件 2012-07-26 12:42 njl_041x

很不错的一个表格插件,但仍然有些问题,比如表格必须定宽,或者单元格必须定宽,否则表头就会表现的差一些(具体为:表头浮动起来,造成表头列宽与表体列宽不等)。但有些时候我们需要表格的100%变宽。  回复  更多评论   


只有注册用户登录后才能发表评论。


网站导航:
 
<2012年7月>
24252627282930
1234567
891011121314
15161718192021
22232425262728
2930311234

导航

统计

常用链接

留言簿(16)

随笔分类(12)

随笔档案(13)

文章分类

新闻分类(1)

新闻档案(30)

相册

常去论坛

搜索

最新评论

阅读排行榜

评论排行榜