Git Product home page Git Product logo

xspreadsheet's Issues

内容无法删尽

在表格里输入内容,然后删除,发现无法全部删掉,用的是demo地址

关于公式的扩展

从demo中看到是支持公式的,但是相对较少,是否有扩展计划或扩展方法,比如增加PMT公式,以及“单变量求解”之类的模拟计算。谢谢。

When is the first release expected?

This is a good project but it seams to be in early development.
I wish to know when an official release will be available.
Also please consider including a CDN and compiled dist in your build process on every release
Great job man

expr2xy on merged cells

To get [x,y] from A1 for example, I use expr2xy function and it's working fine with single cell. With x & y, now I can get the cell text.

How do we get cell text from merged cell like A1:A4?

关于创建更多的列

从xspreadsheet/src/core/alphabet.ts里代码来看,貌似只能支持到26*27-1列,再多就有问题了,可以试试:

const _alphabet = ['A','B','C','D','E','F','G','H','I','J','K','L','M','N','O','P','Q','R','S','T','U','V','W','X','Y','Z']
function alphabet(index: number): string {
  const [a, b] = [parseInt(index / _alphabet.length + ''), index % _alphabet.length]
  return a > 0 ? `${ a > _alphabet.length ? alphabet(a-1) : _alphabet[a - 1]}${_alphabet[b]}` : _alphabet[b]
}

Keyboard not working as expected

When i hit the enter key after typing in a cell i don't move to the next cell as expected
In a normal spreadsheet pressing enter should move to cell below

Files not opening properly or opening with console error if aggregate formula is present

If a file contains aggregate formula then x-spreadsheet is unable to handle it properly.

var data = new Uint8Array(responseFromServer); var arr = new Array(); for(var i = 0; i != data.length; ++i) arr[i] = String.fromCharCode(data[i]); var bstr = arr.join(""); var workbook = XLSX.read(bstr, {type:"binary"}); const xdata = stox(workbook); x_spreadsheet(document.getElementById("x-spreadsheet-demo"), op).loadData(xdata);

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.