Javascript jQuery 电子表格/网格插件,可从/到 Excel 复制/粘贴

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/9019158/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-08-24 08:24:49  来源:igfitidea点击:

jQuery Spreadsheet/Grid plugin with copy/paste from/to Excel

javascriptjqueryexcelgrid

提问by Iurii Dziuban

I am looking for a jQuery plugin for something like spreadsheet or grid. I have found a lot of jQuery Grid pluginsand one spreadsheet plugin. But I would like functionality with copy/paste cells from/to Excel. Something like hereAny suggestions?

我正在寻找用于电子表格或网格之类的 jQuery 插件。我发现了很多 jQuery Grid插件和一个电子表格插件。但我想要从/向 Excel 复制/粘贴单元格的功能。像这里的东西有什么 建议吗?

回答by warpech

I needed JavaScript data grid with copy/paste compatibility with Excel. I could not find such, so I created this: http://handsontable.com/

我需要与 Excel 具有复制/粘贴兼容性的 JavaScript 数据网格。我找不到这样的,所以我创建了这个:http: //handsontable.com/

Maybe you will find it useful.

也许你会发现它很有用。

回答by Yuri Romanenko

there is one available on github: https://github.com/TanyaWebDesign/SpreadSheet

github 上有一个:https: //github.com/TanyaWebDesign/SpreadSheet

it is based on jquery, has copy/paste and bunch of other functions.

它基于 jquery,具有复制/粘贴和一堆其他功能。

回答by Onur Celebi

The best way to deal with tabular data with jquery is probably using Slickgrid

使用 jquery 处理表格数据的最佳方法可能是使用Slickgrid

I did a plugin for copy/paste from/to excel: http://labs.nereo.com/SlickGrid/examples/example-excel-compatible-spreadsheet.html

我做了一个从/到 excel 复制/粘贴的插件:http: //labs.nereo.com/SlickGrid/examples/example-excel-compatible-spreadsheet.html

The plugin has now many bugs fixed and features added by the community (eg. undo/redo support) : https://github.com/Celebio/SlickGrid/commits/master

该插件现已修复了许多错误并由社区添加了功能(例如撤消/重做支持):https: //github.com/Celebio/SlickGrid/commits/master