vian a5e64c31e9 feat(handsontable): baseEditor增加锁定方法 3 năm trước cách đây
..
.config 97733c717f feat(handsontable): init 5 năm trước cách đây
lib 97733c717f feat(handsontable): init 5 năm trước cách đây
src a5e64c31e9 feat(handsontable): baseEditor增加锁定方法 3 năm trước cách đây
test 97733c717f feat(handsontable): init 5 năm trước cách đây
.bowerrc 97733c717f feat(handsontable): init 5 năm trước cách đây
.editorconfig 97733c717f feat(handsontable): init 5 năm trước cách đây
.eslintignore 97733c717f feat(handsontable): init 5 năm trước cách đây
.eslintrc.js ea6f1650c1 fix(handsontable): eslint配置 5 năm trước cách đây
.gitattributes 97733c717f feat(handsontable): init 5 năm trước cách đây
.gitignore 97733c717f feat(handsontable): init 5 năm trước cách đây
.npmignore 97733c717f feat(handsontable): init 5 năm trước cách đây
.travis.yml 97733c717f feat(handsontable): init 5 năm trước cách đây
CHANGELOG.md 97733c717f feat(handsontable): init 5 năm trước cách đây
CNAME 97733c717f feat(handsontable): init 5 năm trước cách đây
CODE_OF_CONDUCT.md 97733c717f feat(handsontable): init 5 năm trước cách đây
CONTRIBUTING.md 97733c717f feat(handsontable): init 5 năm trước cách đây
LICENSE 97733c717f feat(handsontable): init 5 năm trước cách đây
README.md 66b0998195 doc(handsontable): README修改 5 năm trước cách đây
babel.config.js 97733c717f feat(handsontable): init 5 năm trước cách đây
bower.json 97733c717f feat(handsontable): init 5 năm trước cách đây
handsontable.d.ts a5e64c31e9 feat(handsontable): baseEditor增加锁定方法 3 năm trước cách đây
handsontable.jquery.json 97733c717f feat(handsontable): init 5 năm trước cách đây
hot.config.js 97733c717f feat(handsontable): init 5 năm trước cách đây
package.json 2e96c4e96d feat(handsontable): 对外暴露及修改EditorManager 3 năm trước cách đây
tsconfig.json 97733c717f feat(handsontable): init 5 năm trước cách đây
update.json 97733c717f feat(handsontable): init 5 năm trước cách đây
webpack.config.js 97733c717f feat(handsontable): init 5 năm trước cách đây
yarn.lock 97733c717f feat(handsontable): init 5 năm trước cách đây

README.md

Handsontable Community Edition logo


Handsontable Community Edition (CE) is an open source JavaScript/HTML5 data grid component with spreadsheet look & feel. It easily integrates with any data source and comes with a variety of useful features like data binding, validation, sorting or powerful context menu. It is available for Vue, React, Angular and Polymer.

If you are looking for an extended version, try out Handsontable Pro.

Build status npm npm npm


We are looking for Contributors who would like to help us with translations. Learn more
Most wanted languages: Danish, Portuguese, Spanish and Swedish.



Table of contents

  1. What to use it for?
  2. Installation
  3. Basic usage
  4. Examples
  5. Features
  6. Screenshot
  7. Resources
  8. Wrappers
  9. Support
  10. Contributing
  11. Community
  12. License


What to use it for?

The list below gives a rough idea on what you can do with Handsontable CE, but it shouldn't limit you in any way:

  • Database editing
  • Configuration controlling
  • Data merging
  • Team scheduling
  • Sales reporting
  • Financial analysis


Installation

There are many ways to install Handsontable CE, but we suggest using npm:

npm install @sc/handsontable

Alternative ways to install

  • See the download section on how to install Handsontable CE using nuget, bower, yarn and more.


Basic usage

Assuming that you have already installed Handsontable CE, create an empty <div> element that will be turned into a spreadsheet:

<div id="example"></div>

In the next step, pass a reference to that <div> element into the Handsontable CE constructor and fill the instance with sample data:

var data = [
  ["", "Tesla", "Volvo", "Toyota", "Honda"],
  ["2017", 10, 11, 12, 13],
  ["2018", 20, 11, 14, 13],
  ["2019", 30, 15, 12, 13]
];

var container = document.getElementById('example');
var hot = new Handsontable(container, {
  data: data,
  rowHeaders: true,
  colHeaders: true
});


Examples


Features

Some of the most popular features include:

  • Sorting data
  • Data validation
  • Conditional formatting
  • Freezing rows/columns
  • Merging cells
  • Defining custom cell types
  • Moving rows/columns
  • Resizing rows/columns
  • Context menu
  • Adding comments to cells
  • Dragging fill handle to populate data
  • Internationalization
  • Non-contiguous selection

See a comparison table


Screenshot


Resources


Wrappers

Handsontable CE comes with wrappers and directives for most popular frameworks:


Support

Report all the suggestions and problems on GitHub Issues.

An open source version doesn't include a commercial support. You need to purchase Handsontable Pro license or contact us directly in order to obtain a technical support from the Handsoncode team.


Contributing

If you would like to help us to develop Handsontable, please take a look at this guide for contributing.


Community


License

Handsontable Community Edition is released under the MIT license. Read license.

Copyrights belong to Handsoncode sp. z o.o.