Giter Site home page Giter Site logo

purpose about fabric-spreadsheet HOT 3 OPEN

flieks avatar flieks commented on June 29, 2024
purpose

from fabric-spreadsheet.

Comments (3)

TimYi avatar TimYi commented on June 29, 2024

Hi @flieks

There are three key purposes for implementing a table with a canvas.

The first is to solve the performance problem of large documents, the canvas only needs to render the content of one screen. As long as the content of the display area is calculated fast enough, the performance of the table can be guaranteed.

The second is the frozen row and column of the table, which is difficult to achieve with dom, it will have an impact on performance. Canvas solution makes it easy to implement this feature.

The third is the border of cells, it is more difficult to implement with dom, and can be easily implemented with canvas.

The second and third issues, in the dom-based solution, in turn affect performance.

from fabric-spreadsheet.

TimYi avatar TimYi commented on June 29, 2024

And this project is inspired by x-spreadsheet.

This project aims to provide a customiziable spreadsheet bottom support, so that the upper editor does not care about the basic issues such as table rendering, event triggering.

On top of this, an extensible, full-featured editor will be provided so that users can choose to extend the editor directly or implement their own editor directly with the support of the underlying components.

from fabric-spreadsheet.

flieks avatar flieks commented on June 29, 2024

Thats quite interesting, i will try it out when i find the time. Performance is key in spreadsheets and i need frozen rows/cols etc.
I have large spreadsheets on the server and i only want to render the viewport of the client (small part). Or i can render blank cells with correct width/height outside the viewport to make scrolling work easily.

Thanks for this

from fabric-spreadsheet.

Related Issues (1)

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.