微小的可編輯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 自行上傳分享,僅供網友學習交流。所有權歸原作者,若您的權利被侵害,請聯系管理員。
轉載本站原創文章,請注明出處,并保留原始鏈接、圖片水印。
本站是一個以用戶分享為主的開源技術平臺,歡迎各類分享!