Skip to content

Latest commit

 

History

History
11 lines (9 loc) · 886 Bytes

README.md

File metadata and controls

11 lines (9 loc) · 886 Bytes

easySpreadSheet

An easy to implement spreadsheet for javascript

To use this code, just copy the function "crearTabla" and assign it to a variable and if needed just chage the properties of the table, you must parse the following data to it:

*A prefix ID (this must be the same ID of the element where you are going to append the table).
*An array of arrays (or objects) for the header.
*An array of arrays (or objects) for the body.
*A properties object that tells the spreadsheet how to behave.

The properties are fixed, where the programmer can enable or disable whenever they want, but now there some properties that can be changed by the user (if this is enabled).
To generate the table just call the function "generarTablaEditable" associated with the objetc to your variable.