微小的可编辑jQuery Bootstrap 电子表格:editableTableWidget
微小的可编辑jQuery Bootstrap 电子表格。
这个 微小(3KB, < 120 lines) jQuery 插件 能够将任何表格转成一个可编辑的电子表格。以下是它的关键特性:
- No magic - works on a normal HTML table (so you can plug it in into any web table, and apply any JS function to calculate values)
- Supports validation and change events (so you can warn about invalid input or prevent invalid changes)
- Uses standard DOM focus for selection (so does not interrupt scrolling or tabbing outside the table)
- Input automatically copies underlying table cell styling
- Native copy/paste support
- Does not force any styling (so you can style it any way you want, using normal CSS)
- Works well with Bootstrap
- Depends only on jQuery
- Tested in Chrome 32, Firefox 26, IE 10, Safari 7, Android Chrome and iOS 7 Safari
用法
$('#table').editableTableWidget();
本文由用户 jopen 自行上传分享,仅供网友学习交流。所有权归原作者,若您的权利被侵害,请联系管理员。
转载本站原创文章,请注明出处,并保留原始链接、图片水印。
本站是一个以用户分享为主的开源技术平台,欢迎各类分享!