How to use the jexcel function in jexcel

To help you get started, we’ve selected a few jexcel examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github daptin / daptin / daptinweb / src / components / tableview / TableView.vue View on Github external
}
                    j += 1;
                  }
                  spreadSheetData.push(row)
                }

                for (var i = 0; i < maxLength.length; i++) {
                  if (maxLength[i] > 1000) {
                    maxLength[i] = 1000;
                  }
                  widths[i] = maxLength[i] * 3 + 100;
                }

                console.log("immediate load data", widths)

                let spreadsheet = jexcel(that.$refs.tableViewDiv, {
                  data: spreadSheetData,
                  colWidths: widths,
                });
                // Object.assign(this, spreadsheet);


                // that.sheet = new Spreadsheet("#tableView").loadData({rows: spreadSheetData}).change(function(d){
                //   console.log("sheet data change", d)
                // });


              })
            }

jexcel

Jspreadsheet is a lightweight, vanilla javascript plugin to create amazing web-based interactive tables and spreadsheets compatible with Excel, Google Spreadsheets and any other spreadsheet software.

MIT
Latest version published 3 years ago

Package Health Score

60 / 100
Full package analysis

Popular jexcel functions