Giter Site home page Giter Site logo

75993500 / handsontable Goto Github PK

View Code? Open in Web Editor NEW

This project forked from handsontable/handsontable

0.0 1.0 0.0 44.03 MB

Handsontable is an Excel-like data grid / spreadsheet for HTML & JavaScript

Home Page: http://handsontable.com/

License: MIT License

JavaScript 91.46% HTML 6.51% CSS 1.91% PHP 0.12%

handsontable's Introduction

Handsontable Build Status

Handsontable is a data grid component with an Excel-like appearance. Built in JavaScript, it integrates with any data source and comes with features like data validation, sorting, grouping, data binding or column ordering. Actively supported by the Handsoncode team and the GitHub community.

Check out the demos at http://handsontable.com/examples.html or fork the example on JSFiddle to see Handsontable in action.


Quick start

  1. A recommended way to install Handsontable is through Bower package manager using the following command:

bower install handsontable --save

Alternatively, you can download it in a ZIP file.

  1. After Handsontable is downloaded, embed the code into your project. All the files that you need are in the dist\ directory:
<script src="dist/handsontable.full.js"></script>
<link rel="stylesheet" media="screen" href="dist/handsontable.full.css">
  1. Then, create a new Handsontable object, passing a reference to an empty div as a first argument. After that, load some data if you wish:
<div id="example"></div>

<script>
  var data = [
    ["", "Kia", "Nissan", "Toyota", "Honda"],
    ["2008", 10, 11, 12, 13],
    ["2009", 20, 11, 14, 13],
    ["2010", 30, 15, 12, 13]
  ];
  
 var container = document.getElementById('example');
  var hot = new Handsontable(container,
   {
     data: data
    });
</script>

API Reference

AMD support

If you use a modular script loader than Handsontable is not bound to the global object and will fit nicely in your build process. You can require Handsontable just like any other module.

require(['handsontable'], function(Handsontable) {
    var hot = new Handsontable(document.getElementById('example'), {
      data: [[1, 2, 3, 4], [1, 2, 3, 4]]
    });
});

CommonJS module support

If you use a CommonJS compatible environment you can use the require function to import Handsontable.

var handsontable = require('handsontable');

To bundle handsontable with Browserify you must specify the module names of all required modules by Handsontable:

browserify main.js -o bundle.js -r moment -r pikaday -r zeroclipboard

Troubleshooting

Please follow this guidelines when reporting bugs and feature requests:

  1. Use GitHub Issues board to report bugs and feature requests (not our email address)
  2. Please always write steps to reproduce the error. That way we can focus on fixing the bug, not scratching our heads trying to reproduce it.
  3. If possible, please add a JSFiddle link that shows the problem (start by forking this fiddle). It saves us much time.
  4. If you can't reproduce it on JSFiddle, please add a screenshot that shows the problem. JSFiddle is much more appreciated because it lets us start fixing straight away.

Thanks for understanding!

Compatibility

Handsontable is compatible with IE 9+, Firefox, Chrome, Safari and Opera.

Want to help?

Please see CONTRIBUTING.md

Changelog

To see the list of recent changes, see Releases section.

License

The MIT License (see the LICENSE file for the full text)

Contact

You can contact us at [email protected].

handsontable's People

Contributors

warpech avatar jansiegel avatar psmolenski avatar budnix avatar kubak10 avatar berus avatar mrpiotr-dev avatar bollwyvl avatar littley avatar dinesh-ramakrishnan avatar swilla avatar thanpolas avatar skilesare avatar j-francisco avatar tomalec avatar vo-va avatar peller avatar cmac avatar rkrx avatar lukax avatar noullet avatar poxrud avatar raultm avatar evo42 avatar seanthebean avatar steelstyle avatar morungos avatar tmcw avatar tyschroed avatar yipyipx4 avatar

Watchers

NOBOOK-靳雪强 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.