xwinstone / canvastable Goto Github PK
View Code? Open in Web Editor NEWa table that display mass of data for web with fastest speed.
License: MIT License
a table that display mass of data for web with fastest speed.
License: MIT License
看了下demo和文档,感觉很nice,但是发现对于样式的实现,好像只能去统一从table和colum层面去控制,而没有专门根据数据,去修改单元格样式的能力,供参考,,,,,
const ct = new CanvasTable({
container: myCanvas.value,
columns,
style: { height: '100%', width: '100%' }
});
const ctx = myCanvas.value.firstChild.firstChild.getContext('2d');
const name = 'Hello world';
ctx.font = '30px jf-openhuninn';
ctx.fillStyle = 'rgba(0, 0, 0, 0.3)';
ctx.fillText(name, 50, 50);
我能取得canvas,但內容會包含已產製的table,
且添加浮水印時會被已產製的table覆蓋過去,
請問有其他的添加浮水印的方法嗎?
哥们儿 这东西不错 更新更新吧
现在 点击数据 如果文字居中 他会跳到最左面
在初始化 new 中 写入 source参数 会直接显示无数据
还有 表格拉到最下面 总有一条子黑 你看看怎么整整
这东西真心不错!!!
看着不错,但不敢用,怕fire,横着滚的时候能禁止竖着滚吗?竖着滚的时候则禁止横着滚
It would be cool if such a library will provide the ability to determine the width and height of the row cell. Just like colspan
and rowspan
work for a native <table>
华为手机,使用的时候,若数据没有占满CanvasTable的高度,未占满的区域会出现黑色,,,,,并且并为提供重置颜色的能力
Hi @xwinstone.
Love your project. I've been looking for a canvas table just like this. I need to be able to do high frequency updates from an array of objects every 500ms but keeping CPU usage low. Cam this do it?
Also I need row selection, column sorting and column re-ordering.
Any chance I could I pay to get some of these features done and a high frequency update demo please? :)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.