jexcel

2018-08-11 admin

jexcel是什么

什么是jexcel,jQuery plugin for embed a excel-like spreadsheet in your apps or website.

jexcel介绍、jexcel使用

jExcel | The javascript spreadsheet

jExcel is is a very light jquery plugin to embed a spreadsheet, compatible with Excel, in your browser. You can load data straight to a jExcel table from a JS array, json or even a CSV file. You can copy and paste from or to Excel straight to a jExcel table. You can easily integrate jExcel with other third party jquery plugin to create your own custom columns, custom editors, and much more. jExcel has a plenty of nice features such as key-value dropdown, CSV loading/exporting, multiple spreadsheets and much more. We have a large roadmap ahead and we are constantly improving, so don’t forget to send us your ideas.

Main advantages

  • Make rich web applications
  • Improve your clients software experience
  • Better CRUDS and beautiful UI
  • Compatibility with excel, just copy and paste
  • Powerful customizations

Official Installation

Basic demo

It is very easy to use jExcel, first you should make you have include the jquery core and jexcel JS and CSS style.

<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.1.1/jquery.min.js"></script>

<script src="https://cdnjs.cloudflare.com/ajax/libs/jexcel/1.3.4/js/jquery.jexcel.js"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/jexcel/1.3.4/css/jquery.jexcel.css" type="text/css" />

You should initiate your table based on a div container, such as:

To initialize a jExcel table you should run a javascript, such as:

data = [
    ['Google', 1998, 807.80],
    ['Apple', 1976, 116.52],
    ['Yahoo', 1994, 38.66],
];

$('#mytable').jexcel({ data:data, colWidths: [ 300, 80, 100 ] });

Examples

Official website

Screenshot

jExcel | The javascript spreadsheet | jquery plugin

Community

Limitations and roadmap

We are working hard to create a better plugin, but jExcel is under development. We would love to hear your ideas to make a better plugin. We are glad to say new features are coming every day, and we are currently working in features such as:

  • Merged cells
  • Multiple tabs
  • Drag columns
  • Big data (partial table loading)
  • Pagination
  • Online work collaboration

More suggestions are welcome. Please send your comments in our Github page.

Copyright and license

jExcel is released under the [MIT license]. Copyrights belong to Paul Hodel paul.hodel@gmail.com

本站文章除注明转载外,均为本站原创或编译。欢迎任何形式的转载,但请务必注明出处。

转载请注明:文章转载自 JavaScript中文网 [https://www.javascriptcn.com]

本文地址:https://www.javascriptcn.com/read-37760.html

文章标题:jexcel

回到顶部