Comments (3)
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.
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.
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fabric-spreadsheet.